Difference between revisions of "Template:MediaSeriesList"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(15 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:{{{pdflink}}}
+
<!-- (1) video wrapper -->
|{{InsertMedia|{{{pdflink}}} }}
+
<div class="youtube" data-embed="{{{VideoStreamID}}}">
|{{#if: {{{StreamingService}}}
+
|{{#ev:{{#switch:{{{StreamingService}}}
+
    <!-- (2) the "play" button -->
|YouTube=youtube
+
    <div class="play-button"></div>
|Vimeo=vimeo
+
   
|SoundCloud=soundcloud
+
</div>
|TED Talk=ted
+
| {{#if: {{{StreamingService}}}
|Vine=vine
+
|{{#evt:
}}
+
service={{#switch:{{{StreamingService}}}
|{{{VideoStreamID}}}
+
|YouTube=youtube
|1280x720
+
|Vimeo=vimeo
|left
+
|SoundCloud=soundcloud
 +
|TED Talk=ted
 +
|Vine=vine
 
}}
 
}}
 +
|id={{{VideoStreamID}}}
 +
|alignment=left
 +
|dimensions=627
 +
|autoresize=true
 +
}}
 +
|{{#if:{{{pdflink}}}
 +
|{{InsertMedia|{{{pdflink}}} }}
 
|
 
|
 
}}
 
}}
 
}}
 
}}
 +
}}
 
</div>
 
</div>

Latest revision as of 17:06, 15 January 2020

EmbedVideo is missing a required parameter.