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=https://themidnight.wiki/images/4/46/SheWasDreaminOfBoys.mp4|caption=She Was Dreamin' of Boys}}
 
{{#widget:Video|url=https://themidnight.wiki/images/8/84/EarlyEndlessSummer.mp4|caption=Early Endless Summer}}
</noinclude>
</noinclude>


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

Revision as of 22:47, 9 August 2023

Sample result