Page is a draft due to changes in included resources
You are viewing an old version of this page. Return to the latest version.
No categories assigned
Video Player
-
- Last edited 5 years ago by MLR
-
-
- This page is a draft but has an approved version
< Manual:Extension
Revision as of 15:01, 12 November 2019 by Mlink-rodrigue (talk | contribs)
Showtime integrates a HTML video player.
How to use the
Use the tag <bs:showtime>Video.mp4</bs:showtime>
anywhere in an article to activate the player. Please note that you have to upload the video you want to show into your wiki first.
The following video formats can be displayed: mp4, ogv, flv, webm
Optional arguments
You can configure the player with the following arguments:
Argument | Description | Type | Default |
---|---|---|---|
width | Width of the video | int | 320 |
height | Height of the video | int | 240 |
autostart | Automatically starts the video when the page is loaded | bool | false |
repeat | Automatically repeats the video in a loop | bool | false |
Example: <bs:showtime width="960" height="760" autostart="true">Testvideo.mp4</bs:showtime>
Compatibility matrix
For technical reasons, not all video formats can be played in all browsers.
Format | Firefox | Chrome | Internet Explorer |
---|---|---|---|
mp4 | yes | yes | yes |
flv | yes | yes | yes |
ogv | yes | yes | no |
webm | yes | yes | no |
Please note: due to VideoJS standards, the player is set back from HTML5 to Flash when playing an flv-file or using the Internet Explorer.
See also
Our reference page.