Widget:Video: Difference between revisions

From The Midnight Wiki
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>__NOTOC__
<noinclude>__NOTOC__
== Sample result ==
== Sample result ==
<div class="poster-gallery">
{{#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}}
</div>
</noinclude>
</noinclude>


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

Latest revision as of 10:39, 15 December 2023

Sample result

She Was Dreamin' of Boys
Early Endless Summer