Difference between revisions of "Template:Media"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 39: | Line 39: | ||
<div class="col-lg-9 pr-lg-4">{{#if: {{#external_value:MediaSeries}} | <div class="col-lg-9 pr-lg-4">{{#if: {{#external_value:MediaSeries}} | ||
| {{GetMediaSeriesMembers | {{#external_value:MediaSeries}} | {{#external_value:Description}} }} | | {{GetMediaSeriesMembers | {{#external_value:MediaSeries}} | {{#external_value:Description}} }} | ||
− | | {{#if: {{#external_value:StreamingService}} | + | | {{#ifeq: {{#external_value:StreamingService}} | YouTube | |
+ | <!-- (1) video wrapper --> | ||
+ | <div class="youtube" data-embed="{{#external_value:VideoStreamID}}"> | ||
+ | |||
+ | <!-- (2) the "play" button --> | ||
+ | <div class="play-button"></div> | ||
+ | |||
+ | </div> | ||
+ | | {{#if: {{#external_value:StreamingService}} | ||
|{{#ev:{{#switch:{{#external_value:StreamingService}} | |{{#ev:{{#switch:{{#external_value:StreamingService}} | ||
|YouTube=youtube | |YouTube=youtube | ||
Line 64: | Line 72: | ||
}} | }} | ||
}} | }} | ||
+ | }} | ||
}} | }} | ||