Template: VideoWebM

From LibrePlanet
Jump to: navigation, search
(Example)
(Example)
 
Line 13: Line 13:
  
 
</noinclude>
 
</noinclude>
<includeonly><div style="float:right; border: 5px solid black; padding: 10px; margin: 20px; clear: right;"><video controls="controls">
+
<includeonly><div style="float:right; border: 5px solid black; padding: 10px 10px 0 10px; margin: 20px; clear: right;"><video controls="controls">
 
<source src="{{{1}}}" type='video/webm; codecs="vp8, vorbis"' />
 
<source src="{{{1}}}" type='video/webm; codecs="vp8, vorbis"' />
</video><p style="font-size: small; text-variant: italic">{{{2}}}</p></div></includeonly>
+
</video><p style="font-size: small; text-variant: italic; margin: 0;">{{{2}}}</p></div></includeonly>

Latest revision as of 15:47, 2 October 2013

Purpose

Display an HTML video tag for WebM.

Usage

{{Video|URL.webm|caption}}

Example

<video controls="controls">

<source src="https://archive.org/download/RichardStallman_GNU30anniversary/RMS_GNU30anniversary.webm" type='video/webm; codecs="vp8, vorbis"' />

</video>

RMS @ GNU30