Difference between revisions of "Template:Video"
Jump to navigation
Jump to search
WikiWorks753 (talk | contribs) |
WikiWorks753 (talk | contribs) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
The template embeds a video file with a poster using [[:Widget:Html5media|Html5media widget]] | The template embeds a video file with a poster using [[:Widget:Html5media|Html5media widget]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
{{Video|Somefile.mp4|Posterimage.jpg|400px|300px}}</nowiki> | {{Video|Somefile.mp4|Posterimage.jpg|400px|300px}}</nowiki> | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{#widget:Html5media|url={{filepath:{{{1}}}}}|width={{{3}}}|height={{{4}}}|poster={{filepath:{{{2}}}}}}}</includeonly> | </noinclude><includeonly>{{#widget:Html5media|url={{filepath:{{{1}}}}}|width={{{3}}}|height={{{4}}}|poster={{filepath:{{{2}}}}}}}</includeonly> |
Revision as of 14:06, 13 May 2020
The template embeds a video file with a poster using Html5media widget
{{Video|Somefile.mp4|Posterimage.jpg|400px|300px}}