No categories assigned

EmbedVideo

Revision as of 14:48, 22 November 2017 by Lsireta (talk | contribs)

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 [<a tags.</audio></video>


Usage<a class="external bs-external-link bs-protocol-none" title="href=%22https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit&section=2%22%20title=%22Edit%20section:%20Usage%22>edit" href="%3Ca" data-bs-type="external_link" data-bs-wikitext="<a%20href=%22https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit&section=2%22%20title=%22Edit%20section:%20Usage%22>edit">href="https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit&section=2" title="Edit section: Usage">edit]

Media Handler[<a href="https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit&section=3" title="Edit section: Media Handler">edit]

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.</video>

[[File:Example.mp4]]

Source: 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]]

Attachments

Discussions