Difference between revisions of "Template:Video"

From SEBoK
Jump to navigation Jump to search
Line 4: Line 4:
 
{{Video|Somefile.mp4|Posterimage.jpg}}
 
{{Video|Somefile.mp4|Posterimage.jpg}}
 
</pre>
 
</pre>
<noinclude><includeonly>test{{#widget:Html5media|url={{filepath:{{{1}}}}}|poster={{filepath:{{{2}}}}}}}</includeonly>
+
</noinclude><includeonly>{{#widget:Html5media|url={{filepath:{{{1}}}}}|poster={{filepath:{{{2}}}}}}}</includeonly>

Revision as of 14:01, 13 May 2020

The template embeds a video file with a poster using Html5media widget

{{Video|Somefile.mp4|Posterimage.jpg}}