Actions

Html5media

From MediaWiki Widgets

Html5media widget
Description:Allows you to add a HTML5 Media player for video files.
Author:Taipan
Provider:etianen
Code:Widget:Html5media
Status:active
Security:unknown
Inv-Icon tools.svg.png

To copy this widget to your wiki, cut and paste the entire source of the Html5media widget code page into a page called Widget:Html5media on your wiki.

If you don't have the Widget extension set up on your wiki, go to its description page on MediaWiki.org and follow the installation instructions.


This widget allows you to add HTML5 Video Media to your wiki page. For audio files see the Html5mediaAudio page.

To insert this widget, use the following code:

{{#widget:Html5media
|url=http://pornel.net/Performance.ogg
|width=640
|height=360
}}

Parameters

  • url - URL of the video
  • width, height - dimensions (optional, 425x355 default)

Sample result

Related tip

The Video template used together with the Html5media widget helps to avoid adding the full URL of a locally uploaded file to the widget's "url" parameter by rather just specifying the name of the uploaded file. → See the Video template for further information.

Comments

blog comments powered by Disqus