* support psyche * Update lib/routes/psyche/topic.ts Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update lib/routes/psyche/topic.ts Co-authored-by: Tony <TonyRL@users.noreply.github.com> * Update lib/routes/psyche/topic.ts Co-authored-by: Tony <TonyRL@users.noreply.github.com> * graphql + _next/data/buildID * add link * delete json * cache link * hotfix: redundent 's' ---------
11 lines
411 B
Arturo
11 lines
411 B
Arturo
{{ set video = article.hosterId }}
|
|
{{ if article.hoster === 'vimeo' }}
|
|
{{ set video = "https://player.vimeo.com/video/" + video + "?dnt=1"}}
|
|
{{ else if article.hoster == 'youtube' }}
|
|
{{ set video = "https://www.youtube-nocookie.com/embed/" + video }}
|
|
{{ /if }}
|
|
|
|
<iframe width="672" height="377" src="{{ video }}" frameborder="0" allowfullscreen></iframe>
|
|
{{@ article.credits}}
|
|
{{@ article.description}}
|