You are viewing an old version of this page. Return to the latest version.
No categories assigned
EmbedVideo
-
- Last edited 7 years ago by Lsireta
-
-
- No status information
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]
Media Handler[<a href="https://www.mediawiki.org/w/index.php?title=Extension:EmbedVideo&action=edit§ion=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.
[[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]]