Difference between revisions of "Template:MediaSeriesList"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(21 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 |
+
<!-- (1) video wrapper -->
</div>
+
<div class="youtube" data-embed="{{{VideoStreamID}}}">  
 
+
<div class="clearfix">
+
    <!-- (2) the "play" button -->
<div class="mw-collapsible {{#ifeq: {{{volumenumber}}} | 1 | | mw-collapsed }}" id="mw-customcollapsible-track{{{volumenumber}}}">
+
    <div class="play-button"></div>  
{{#if:{{{pdflink}}}
+
   
|{{#if: {{{frontcoverimg}}}
+
</div>
|<center>[[{{{frontcoverimg}}}|640x360px]]</center>|}}
+
| {{#if: {{{StreamingService}}}
<center>{{InsertMedia|{{{pdflink}}} }}</center>
+
|{{#evt:
|{{#if: {{{StreamingService}}}
+
service={{#switch:{{{StreamingService}}}
|{{#ev:{{#switch:{{{StreamingService}}}
+
|YouTube=youtube
|YouTube=youtube
+
|Vimeo=vimeo
|Vimeo=vimeo
+
|SoundCloud=soundcloud
|SoundCloud=soundcloud
+
|TED Talk=ted
|TED Talk=ted
+
|Vine=vine
|Vine=vine
 
}}
 
|{{{VideoStreamID}}}
 
|{{#switch:{{{StreamingService}}}
 
|YouTube=
 
|Vimeo=
 
|SoundCloud=750
 
|TED Talk=
 
|Vine=
 
}}
 
|left
 
}}
 
|
 
 
}}
 
}}
 +
|id={{{VideoStreamID}}}
 +
|alignment=left
 +
|dimensions=627
 +
|autoresize=true
 
}}
 
}}
</div>
+
|{{#if:{{{pdflink}}}
 +
|{{InsertMedia|{{{pdflink}}} }}
 +
|
 +
}}
 +
}}
 +
}}
 
</div>
 
</div>

Latest revision as of 17:06, 15 January 2020

EmbedVideo is missing a required parameter.