Difference between revisions of "Manual:Extension/BlueSpicePlayer"
[unchecked revision] | [quality revision] |
m (Tag: 2017 source edit) |
(Changed categories.) |
The extension BlueSpice Player allows you to embed local video files in a page. These files have to be uploaded to your wiki first.
If you want to embed videos from a video sharing service such as Youtube, you can use the installed extension EmbedVideo. EmbedVideo is documented at www.mediawiki.org/wiki/Extension:EmbedVideo.
Contents
How to use the video player[edit | edit source]
Use the tag <bs:showtime>Video.mp4</bs:showtime>
anywhere in an article to activate the player. Please note that you have to upload Upload the video you want to show into your wiki first. You can upload the video just like an image (Global actions > Upload file).
The following video formats can be displayedare supported: mp4, ogv, flv, webm
Optional arguments[edit | edit source]
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 syntax: <bs:showtime width="960" height="760" autostart="true">Testvideo.mp4</bs:showtime>
Compatibility matrix[edit | edit source]
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 alsoTechnical details[edit | edit source]
Our reference page.
The video player is enabled by the extension BlueSpicePlayer. An administrator has to add the necessary video extensions to the allowed file extensions in the Config Manager.
Related info
- Reference:BlueSpicePlayer (for embedding videos that are uploaded to the wiki)
- Reference:EmbedVideo (for embedding videos form external services such as YouTube)
{{DISPLAYTITLE:Video Player}} __TOC__ '''Showtime''' integrates a HTML video player. The extension BlueSpice '''Player''' allows you to embed local video files in a page. These files have to be uploaded to your wiki first. If you want to embed videos from a video sharing service such as Youtube, you can use the installed extension ''EmbedVideo''. EmbedVideo is documented at [https://www.mediawiki.org/wiki/Extension:EmbedVideo www.mediawiki.org/wiki/Extension:EmbedVideo]. ==How to use the video player== Use the tag <code><nowiki><bs:showtime>Video.mp4</bs:showtime></nowiki></code> anywhere in an article to activate the player. Please note that you have to upload the video you want to show into your wiki firstUpload the video into your wiki first. You can upload the video just like an image (''Global actions > Upload file''). The following video formats can be displayedare supported: '''mp4, ogv, flv, webm''' <bs:showtime autostart="false">gizmo.mp4</bs:showtime> <br /> ===Optional arguments=== You can configure the player with the following arguments: {| class="cuscosky" |- ! class="background-color" style="width:100px;" |Argument ! class="background-color" style="width:300px;" |Description ! class="background-color" style="width:150px;" |Type ! class="background-color" style="width:150px;" contenttable-blue" |- ! style="width:100px;" class="background-color" |Argument ! style="width:300px;" class="background-color" |Description ! style="width:150px;" class="background-color" |Type ! style="width:150px;" class="background-color" |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 syntax''': <code><nowiki><bs:showtime width="960" height="760" autostart="true">Testvideo.mp4</bs:showtime></nowiki></code> ===Compatibility matrix=== For technical reasons, not all video formats can be played in all browsers. {| class="cuscosky" |- ! class="background-color" style="width:150px;" |Format ! class="background-color" style="width:150px;" |Firefox ! class="background-color" style="width:150px;" |Chrome ! class="background-color" style="width:150px;" contenttable-blue" |- ! style="width:150px;" class="background-color" |Format ! style="width:150px;" class="background-color" |Firefox ! style="width:150px;" class="background-color" |Chrome ! style="width:150px;" class="background-color" |Internet Explorer |- ||mp4 ||yes ||yes ||yes |- ||flv ||yes ||yes ||yes |- ||ogv ||yes ||yes | style="background-color:#ff0000;" |no |- ||webm ||yes ||yes | style="background-color:#ff0000;" |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. [[File:small.mp4]] <bs:showtime width="960" height="760" autostart="false">small.mp4</bs:showtime> ==See also== Our [[Reference:Player|reference page.]]==Technical details== The video player is enabled by the extension BlueSpicePlayer. An administrator has to add the necessary video extensions to the allowed file extensions in the [[Manual:Extension/BlueSpiceConfigManager|Config Manager]]. {{Box Links-en|Topic1=[[Reference:BlueSpicePlayer]] (for embedding videos that are uploaded to the wiki)|Topic2=[[Reference:EmbedVideo]] (for embedding videos form external services such as YouTube)}} <br /> [[en:{{FULLPAGENAME}}]] [[de:Handbuch:BlueSpicePlayer]]
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Video Player}} | {{DISPLAYTITLE:Video Player}} | ||
− | |||
− | ''' | + | The extension BlueSpice '''Player''' allows you to embed local video files in a page. These files have to be uploaded to your wiki first. |
− | + | If you want to embed videos from a video sharing service such as Youtube, you can use the installed extension ''EmbedVideo''. EmbedVideo is documented at [https://www.mediawiki.org/wiki/Extension:EmbedVideo www.mediawiki.org/wiki/Extension:EmbedVideo]. | |
− | + | ==How to use the video player== | |
− | The following video formats | + | Use the tag <code><nowiki><bs:showtime>Video.mp4</bs:showtime></nowiki></code> anywhere in an article to activate the player. Upload the video into your wiki first. You can upload the video just like an image (''Global actions > Upload file''). |
+ | |||
+ | The following video formats are supported: '''mp4, ogv, flv, webm''' | ||
+ | <bs:showtime autostart="false">gizmo.mp4</bs:showtime> | ||
+ | <br /> | ||
===Optional arguments=== | ===Optional arguments=== | ||
Line 14: | Line 17: | ||
You can configure the player with the following arguments: | You can configure the player with the following arguments: | ||
− | {| class=" | + | {| class="contenttable-blue" |
|- | |- | ||
− | ! | + | ! style="width:100px;" class="background-color" |Argument |
− | + | ! style="width:300px;" class="background-color" |Description | |
− | + | ! style="width:150px;" class="background-color" |Type | |
− | + | ! style="width:150px;" class="background-color" |Default | |
|- | |- | ||
||''width'' | ||''width'' | ||
Line 41: | Line 44: | ||
||false | ||false | ||
|} | |} | ||
− | |||
− | |||
+ | '''Example syntax''': <code><nowiki><bs:showtime width="960" height="760" autostart="true">Testvideo.mp4</bs:showtime></nowiki></code> | ||
===Compatibility matrix=== | ===Compatibility matrix=== | ||
For technical reasons, not all video formats can be played in all browsers. | For technical reasons, not all video formats can be played in all browsers. | ||
− | {| class=" | + | {| class="contenttable-blue" |
|- | |- | ||
− | ! | + | ! style="width:150px;" class="background-color" |Format |
− | + | ! style="width:150px;" class="background-color" |Firefox | |
− | + | ! style="width:150px;" class="background-color" |Chrome | |
− | + | ! style="width:150px;" class="background-color" |Internet Explorer | |
|- | |- | ||
||mp4 | ||mp4 | ||
Line 69: | Line 71: | ||
||yes | ||yes | ||
||yes | ||yes | ||
− | | style=" | + | | style="" |no |
|- | |- | ||
||webm | ||webm | ||
||yes | ||yes | ||
||yes | ||yes | ||
− | | style=" | + | | style="" |no |
|} | |} | ||
− | '''Please note:''' due to VideoJS standards, the player is set back from HTML5 to Flash when playing an flv-file or using | + | '''Please note:''' due to VideoJS standards, the player is set back from HTML5 to Flash when playing an flv-file or using Internet Explorer. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==Technical details== | |
+ | The video player is enabled by the extension BlueSpicePlayer. An administrator has to add the necessary video extensions to the allowed file extensions in the [[Manual:Extension/BlueSpiceConfigManager|Config Manager]]. | ||
+ | {{Box Links-en|Topic1=[[Reference:BlueSpicePlayer]] (for embedding videos that are uploaded to the wiki)|Topic2=[[Reference:EmbedVideo]] (for embedding videos form external services such as YouTube)}} | ||
+ | <br /> | ||
+ | [[en:{{FULLPAGENAME}}]] | ||
+ | [[de:Handbuch:BlueSpicePlayer]] |