Template: VideoWebM

From LibrePlanet
Jump to: navigation, search
(Created page with "<noinclude> == Purpose == Display an HTML video tag for WebM. == Usage == <nowiki>{{Video|URL.webm|caption}}</nowiki> === Example === {{Video|https://archive.org/download/Ri...")
 
(Example)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
=== Example ===
 
=== Example ===
  
{{Video|https://archive.org/download/RichardStallman_GNU30anniversary/RMS_GNU30anniversary.webm|RMS @ GNU30}}
+
{{VideoWebM|https://archive.org/download/RichardStallman_GNU30anniversary/RMS_GNU30anniversary.webm|RMS @ GNU30}}
  
 
</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