Difference between revisions of "Template:MediaSeriesList"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="clearfix">
+
<div class="bnw-resource-item">{{#ifeq: {{{StreamingService}}} | YouTube |
<div class="mw-customtoggle-track{{{volumenumber}}}">{{{MediaTrackName}}}</div>
+
<!-- (1) video wrapper -->
<div class="mw-collapsible {{#ifeq: {{{volumenumber}}} | 1 | mw-made-collapsible | mw-collapsed }}" id="mw-customcollapsible-track{{{volumenumber}}}">
+
<div class="youtube" data-embed="{{{VideoStreamID}}}">
{{#if:{{{pdflink}}}
+
|{{#if: {{{frontcoverimg}}}
+
    <!-- (2) the "play" button -->
|<center>[[{{{frontcoverimg}}}|x300px]]</center>|}}
+
    <div class="play-button"></div>  
<center>{{InsertMedia|{{{pdflink}}} }}</center>
+
   
|{{#if: {{{StreamingService}}}
+
</div>
|{{#ev:{{#switch:{{{StreamingService}}}
+
| {{#if: {{{StreamingService}}}
|YouTube=youtube
+
|{{#evt:
|Vimeo=vimeo
+
service={{#switch:{{{StreamingService}}}
|SoundCloud=soundcloud
+
|YouTube=youtube
|TED Talk=ted
+
|Vimeo=vimeo
|Vine=vine
+
|SoundCloud=soundcloud
}}
+
|TED Talk=ted
|{{{VideoStreamID}}}
+
|Vine=vine
|{{#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.