Difference between revisions of "Template:Media"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 72: | Line 72: | ||
| {{GetMediaSeriesMembers | {{#external_value:MediaSeries}} | {{#external_value:Description}} }} | | {{GetMediaSeriesMembers | {{#external_value:MediaSeries}} | {{#external_value:Description}} }} | ||
| {{#if: {{#external_value:StreamingService}} | | {{#if: {{#external_value:StreamingService}} | ||
− | | | + | |<embedvideo service="{{#switch:{{#external_value:StreamingService}} |
|YouTube=youtube | |YouTube=youtube | ||
|Vimeo=vimeo | |Vimeo=vimeo | ||
|SoundCloud=soundcloud | |SoundCloud=soundcloud | ||
|TED Talk=ted | |TED Talk=ted | ||
− | | | + | }}" dimensions="1060" alignment="center">{{#switch:{{#external_value:StreamingService}} |
− | }} | + | |YouTube=https://www.youtube.com/watch?v= |
− | + | |Vimeo=https://vimeo.com/ | |
− | + | |SoundCloud= | |
− | + | |TED Talk=https://www.ted.com/talks/ | |
− | + | }}{{#external_value:VideoStreamID}}{{#switch:{{#external_value:StreamingService}} | |
+ | |YouTube=?rel=0 | ||
+ | |Vimeo= | ||
+ | |SoundCloud= | ||
+ | |TED Talk= | ||
+ | }}</embedvideo> | ||
|{{#if:{{#external_value:pdflink}} | |{{#if:{{#external_value:pdflink}} | ||
|{{#if: {{#external_value:frontcoverimg}} | |{{#if: {{#external_value:frontcoverimg}} |