Difference between revisions of "Template:MediaSeriesList"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{pdflink}}}
+
<div class="bnw-resource-item">{{#ifeq: {{{StreamingService}}} | YouTube |
|{{#if: {{{frontcoverimg}}}
+
<!-- (1) video wrapper -->
|<center>[[{{{frontcoverimg}}}|x300px]]</center>|}}
+
<div class="youtube" data-embed="{{{VideoStreamID}}}">
<center>{{InsertMedia|{{{pdflink}}} }}</center>
+
|{{#if: {{{StreamingService}}}
+
    <!-- (2) the "play" button -->
|{{#ev:{{#switch:{{{StreamingService}}}
+
    <div class="play-button"></div>  
 +
   
 +
</div>
 +
| {{#if: {{{StreamingService}}}
 +
|{{#evt:
 +
service={{#switch:{{{StreamingService}}}
 
|YouTube=youtube
 
|YouTube=youtube
 
|Vimeo=vimeo
 
|Vimeo=vimeo
Line 11: 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>

Latest revision as of 17:06, 15 January 2020

EmbedVideo is missing a required parameter.