Widget:Video: Difference between revisions

From The Midnight Wiki
No edit summary
No edit summary
 
(50 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}}
{{#widget:Video|url=/images/8/84/EarlyEndlessSummer.mp4|caption=Early Endless Summer}}
</noinclude>
</noinclude>


<includeonly><div id="youtube-outer"><video controls preload="auto" style="
<includeonly>
    position: relative;
<figure class="video-wrapper">
    height: 75%;
<div class="video-outer">
    width: 81%;
<video id="content-video" controls>
    background: black;
<source id="video-source" type="video/webm" src="<!--{$url|escape:'urlpathinfo'}-->" >
    left: 9.5%;
</video>
    top: 10%;
</div>
    border-radius: 3%;
<figcaption><b><!--{$caption|escape:'html'}--></b></figcaption>
    object-fit: cover;
</figure>
"><source src="<!--{$url|escape:'urlpathinfo'}-->" type="video/mp4"></video></div></includeonly>
</includeonly>

Latest revision as of 10:39, 15 December 2023

Sample result

She Was Dreamin' of Boys
Early Endless Summer