Widget:Video: Difference between revisions

From The Midnight Wiki
No edit summary
No edit summary
 
(61 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>__NOTOC__
<noinclude>__NOTOC__
== Sample result ==
== Sample result ==
{{#widget:Video|url=/images/4/46/SheWasDreaminOfBoys.mp4}}
{{#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>


<includeonly><div id="youtube-outer"><div class="youtube-middle"></div><video width="450" height="250" controls preload="auto"><source src="<!--{$url|escape:'urlpathinfo'}-->" type="video/mp4"></video></div></includeonly>
<includeonly>
<figure class="video-wrapper">
<div class="video-outer">
<video id="content-video" controls>
<source id="video-source" type="video/webm" src="<!--{$url|escape:'urlpathinfo'}-->" >
</video>
</div>
<figcaption><b><!--{$caption|escape:'html'}--></b></figcaption>
</figure>
</includeonly>

Latest revision as of 10:39, 15 December 2023

Sample result

She Was Dreamin' of Boys
Early Endless Summer