Difference between revisions of "Template:MediaSeriesList"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(17 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
|{{#switch:{{{StreamingService}}}
+
|Vimeo=vimeo
|YouTube=
+
|SoundCloud=soundcloud
|Vimeo=
+
|TED Talk=ted
|SoundCloud=750
+
|Vine=vine
|TED Talk=
 
|Vine=
 
}}
 
|left
 
 
}}
 
}}
 +
|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.