Widget:Video: Difference between revisions

From The Midnight Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>__NOTOC__
<noinclude>__NOTOC__
== Sample result ==
== Sample result ==
{{#widget:Video|url=/images/4/46/SheWasDreaminOfBoys.mp4|caption=She Was Dreamin' of Boys}}
 
{{#widget:Video|url=/images/8/84/EarlyEndlessSummer.mp4|caption=Early Endless Summer}}
</noinclude>
</noinclude>


Line 9: Line 8:
<div class="video-outer">
<div class="video-outer">
<video id="content-video" controls preload="auto">
<video id="content-video" controls preload="auto">
<source id="video-source" type="video/mp4" src="<!--{$url|escape:'urlpathinfo'}-->" >
<source id="video-source" type="video/webm" src="<!--{$url|escape:'urlpathinfo'}-->" >
</video>
</video>
</div>
</div>

Revision as of 22:40, 9 August 2023

Sample result