Difference between revisions of "Template:MediaSeriesList"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="bnw-resource-item"> | + | <div class="bnw-resource-item">{{#ifeq: {{{StreamingService}}} | YouTube | |
− | {{#if:{{{ | + | <!-- (1) video wrapper --> |
− | |{{#if: {{{ | + | <div class="youtube" data-embed="{{{VideoStreamID}}}"> |
+ | |||
+ | <!-- (2) the "play" button --> | ||
+ | <div class="play-button"></div> | ||
+ | |||
+ | </div> | ||
+ | | {{#if: {{{StreamingService}}} | ||
+ | |{{#evt: | ||
+ | service={{#switch:{{{StreamingService}}} | ||
+ | |YouTube=youtube | ||
+ | |Vimeo=vimeo | ||
+ | |SoundCloud=soundcloud | ||
+ | |TED Talk=ted | ||
+ | |Vine=vine | ||
+ | }} | ||
+ | |id={{{VideoStreamID}}} | ||
+ | |alignment=left | ||
+ | |dimensions=627 | ||
+ | |autoresize=true | ||
+ | }} | ||
+ | |{{#if:{{{pdflink}}} | ||
|{{InsertMedia|{{{pdflink}}} }} | |{{InsertMedia|{{{pdflink}}} }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| | | | ||
}} | }} | ||
}} | }} | ||
+ | }} | ||
</div> | </div> |
Latest revision as of 17:06, 15 January 2020
EmbedVideo is missing a required parameter.