Difference between revisions of "Reference:EmbedVideo"
(Changed categories.) |
You can find further information on the installation and use of EmbedVideo here. The EmbedVideo extension adds a parser function called #ev
for embedding video clips from over 24 popular video sharing services in multiple languages and countries. It also adds video and audio media handlers to support transforming standard File:Example.mp4 file links into embedded HTML5 <video> and <audio> tags.
Usage[<a href="https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit§ion=2" title="Edit section: Usage">edit][edit | edit source]
Media Handler[<a href="https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit§ion=3" title="Edit section: Media Handler">edit][edit | edit source]
For locally uploaded content the process for displaying it on a page is the same as an image. See the image syntax documentation on MediaWiki.org for complete reference on this feature.
This example would display a video in page using a HTML5 `<video>` tag.
[[File:Example.mp4]]
To specify the start and end timestamps in the media use the start and end parameters. The timestamp can be formatted as one of: ss, :ss, mm:ss, hh:mm:ss, or dd:hh:mm:ss.
[[File:Example.mp4|start=2|end=6]]
You can find further information on the installation and use of EmbedVideo [http:The '''EmbedVideo''' extension adds a parser function called <code>#ev</code> for embedding video clips from over 24 popular video sharing services in multiple languages and countries. It also adds video and audio media handlers to support transforming standard [[File:Example.mp4]] file links into embedded HTML5 <video> and <audio> tags. ==<span id="Usage" class="mw-headline">Usage</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit§ion=2" title="Edit section: Usage">edit]</span></span>== ===<span id="Media_Handler" class="mw-headline">Media Handler</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit§ion=3" title="Edit section: Media Handler">edit]</span></span>=== For locally uploaded content the process for displaying it on a page is the same as an image. [https://www.mediawiki.org/wiki/EmbedVideo here]. [[Category:Extension]]Help:Images#Syntax See the image syntax documentation] on MediaWiki.org for complete reference on this feature. This example would display a video in page using a HTML5 `<video>` tag. <pre>[[File:Example.mp4]] </pre> To specify the start and end timestamps in the media use the start and end parameters. The timestamp can be formatted as one of: ss, :ss, mm:ss, hh:mm:ss, or dd:hh:mm:ss. <pre>[[File:Example.mp4|start=2|end=6]]</pre>
Line 1: | Line 1: | ||
+ | The '''EmbedVideo''' extension adds a parser function called <code>#ev</code> for embedding video clips from over 24 popular video sharing services in multiple languages and countries. It also adds video and audio media handlers to support transforming standard [[File:Example.mp4]] file links into embedded HTML5 <video> and <audio> tags. | ||
− | + | ==<span id="Usage" class="mw-headline">Usage</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit§ion=2" title="Edit section: Usage">edit]</span></span>== | |
+ | ===<span id="Media_Handler" class="mw-headline">Media Handler</span><span class="mw-editsection"><span class="mw-editsection-bracket">[<a href="https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit§ion=3" title="Edit section: Media Handler">edit]</span></span>=== | ||
+ | For locally uploaded content the process for displaying it on a page is the same as an image. [https://www.mediawiki.org/wiki/Help:Images#Syntax See the image syntax documentation] on MediaWiki.org for complete reference on this feature. | ||
+ | This example would display a video in page using a HTML5 `<video>` tag. | ||
+ | <pre>[[File:Example.mp4]] | ||
+ | </pre> | ||
+ | To specify the start and end timestamps in the media use the start and end parameters. The timestamp can be formatted as one of: ss, :ss, mm:ss, hh:mm:ss, or dd:hh:mm:ss. | ||
− | + | <pre>[[File:Example.mp4|start=2|end=6]]</pre> | |
− | |||
− | |||
− | [[ |