Difference between revisions of "Template:MediaSeriesList"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="mw-customtoggle-track{{{volumenumber}}}">{{{BuNayTitle}}}</div>
+
<div class="bnw-resource-item">{{#ifeq: {{{StreamingService}}} | YouTube |
<div class="mw-collapsible {{#ifeq: {{{volumenumber}}} | 1 | mw-made-collapsible | mw-collapsed }}" id="mw-customcollapsible-track{{{volumenumber}}}">
+
<!-- (1) video wrapper -->
{{#if:{{{pdflink}}}
+
<div class="youtube" data-embed="{{{VideoStreamID}}}">  
|{{#if: {{{frontcoverimg}}}
+
|<center>[[{{{frontcoverimg}}}|x300px]]</center>|}}
+
    <!-- (2) the "play" button -->
<center>{{InsertMedia|{{{pdflink}}} }}</center>
+
    <div class="play-button"></div>  
|{{#if: {{{StreamingService}}}
+
   
|{{#ev:{{#switch:{{{StreamingService}}}
+
</div>
 +
| {{#if: {{{StreamingService}}}
 +
|{{#evt:
 +
service={{#switch:{{{StreamingService}}}
 
|YouTube=youtube
 
|YouTube=youtube
 
|Vimeo=vimeo
 
|Vimeo=vimeo
Line 13: Line 16:
 
|Vine=vine
 
|Vine=vine
 
}}
 
}}
|{{{VideoStreamID}}}
+
|id={{{VideoStreamID}}}
|{{#switch:{{{StreamingService}}}
+
|alignment=left
|YouTube=
+
|dimensions=627
|Vimeo=
+
|autoresize=true
|SoundCloud=750
+
}}
|TED Talk=
+
|{{#if:{{{pdflink}}}
|Vine=
+
|{{InsertMedia|{{{pdflink}}} }}
}}
+
|
|left
 
 
}}
 
}}
|
 
 
}}
 
}}
 
}}
 
}}
 
</div>
 
</div>

Latest revision as of 17:06, 15 January 2020

EmbedVideo is missing a required parameter.