Template:MediaSeriesList: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<div class="bnw-resource-item">{{#ifeq: {{{StreamingService}}} | YouTube |
<div class="bnw-resource-item">{{#ifeq: {{{StreamingService | }}} | YouTube |
<!-- (1) video wrapper -->
<!-- (1) video wrapper -->
<div class="youtube" data-embed="{{{VideoStreamID}}}">  
<div class="youtube" data-embed="{{{VideoStreamID | }}}">  
 
 
    <!-- (2) the "play" button -->
    <!-- (2) the "play" button -->
Line 7: Line 7:
     
     
</div>
</div>
| {{#if: {{{StreamingService}}}
| {{#if: {{{StreamingService | }}}
|{{#ev:
|{{#ev:
service={{#switch:{{{StreamingService}}}
service={{#switch:{{{StreamingService | }}}
|YouTube=youtube
|YouTube=youtube
|Vimeo=vimeo
|Vimeo=vimeo
Line 16: Line 16:
|Vine=vine
|Vine=vine
}}
}}
|id={{{VideoStreamID}}}
|id={{{VideoStreamID | }}}
|alignment=left
|alignment=left
|dimensions=627
|dimensions=627
|autoresize=true
|autoresize=true
}}
}}
|{{#if:{{{pdflink}}}
|{{#if:{{{pdflink | }}}
|{{InsertMedia|{{{pdflink}}} }}
|{{InsertMedia|{{{pdflink | }}} }}
|
|
}}
}}

Revision as of 09:03, 7 August 2025