Difference between revisions of "Template:MediaSeriesList"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(8 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}}}
+
|{{#evt:
+
    <!-- (2) the "play" button -->
service={{#switch:{{{StreamingService}}}
+
    <div class="play-button"></div>
|YouTube=youtube
+
   
|Vimeo=vimeo
+
</div>
|SoundCloud=soundcloud
+
| {{#if: {{{StreamingService}}}
|TED Talk=ted
+
|{{#evt:
|Vine=vine
+
service={{#switch:{{{StreamingService}}}
}}
+
|YouTube=youtube
|id={{{VideoStreamID}}}
+
|Vimeo=vimeo
|alignment=left
+
|SoundCloud=soundcloud
|autoresize=true
+
|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.