Difference between revisions of "Manual:Extension/BlueSpicePlayer"
[unchecked revision] | [unchecked revision] |
m (Text replacement - "<bs:bookshelf src="Book:User manual" />" to "") |
m (Tag: Visual edit) |
Contents
- 1 What is Showtime? 2
- How to use Showtime?
-
the
- 2
- 3
- 2 See also
Showtime
?[edit | edit source]Showtime integrates a HTML video player.
How to use Showtime?the[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 the video you want to show into your wiki first.
The following video formats can be displayed: 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: <bs:showtime width="640" height="480" 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 also[edit | edit source]
Our reference page.
__TOC__ ==What is Showtime?== {{DISPLAYTITLE:Video Player}} __TOC__ '''Showtime''' integrates a HTML video player. ==How to use Showtime?the == 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 first. The following video formats can be displayed: '''mp4, ogv, flv, webm''' ===Optional arguments=== You can configure the player with the following arguments: {| class="cuscosky" |- ! style="width: 100px; text-align: center; vertical-align: middle;"|Argument ! style="width: 300px; text-align: center; vertical-align: middle;"|Description ! style="width: 150px; text-align: center; vertical-align: middle;"|Type ! style="width: 150px; text-align: center; vertical-align: middle;"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;" |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''': <code><nowiki><bs:showtime width="640" height="480" 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" |- ! style="width: 150px; text-align: center; vertical-align: middle;"|Format ! style="width: 150px; text-align: center; vertical-align: middle;"|Firefox ! style="width: 150px; text-align: center; vertical-align: middle;"|Chrome ! style="width: 150px; text-align: center; vertical-align: middle;"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;" |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:Manual:small.mp4]] ==See also== Our [[Reference:Player|reference page.]]
Line 1: | Line 1: | ||
− | + | {{DISPLAYTITLE:Video Player}} | |
− | |||
__TOC__ | __TOC__ | ||
− | |||
− | |||
'''Showtime''' integrates a HTML video player. | '''Showtime''' integrates a HTML video player. | ||
− | ==How to use | + | ==How to use the == |
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 first. | 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 first. | ||
Line 19: | Line 16: | ||
{| class="cuscosky" | {| class="cuscosky" | ||
|- | |- | ||
− | ! style="width: 100px | + | ! class="background-color" style="width:100px;" |Argument |
− | ! style="width: 300px | + | ! class="background-color" style="width:300px;" |Description |
− | ! style="width: 150px | + | ! class="background-color" style="width:150px;" |Type |
− | ! style="width: 150px | + | ! class="background-color" style="width:150px;" |Default |
|- | |- | ||
||''width'' | ||''width'' | ||
Line 54: | Line 51: | ||
{| class="cuscosky" | {| class="cuscosky" | ||
|- | |- | ||
− | ! style="width: 150px | + | ! class="background-color" style="width:150px;" |Format |
− | ! style="width: 150px | + | ! class="background-color" style="width:150px;" |Firefox |
− | ! style="width: 150px | + | ! class="background-color" style="width:150px;" |Chrome |
− | ! style="width: 150px | + | ! class="background-color" style="width:150px;" |Internet Explorer |
|- | |- | ||
||mp4 | ||mp4 | ||
Line 72: | Line 69: | ||
||yes | ||yes | ||
||yes | ||yes | ||
− | | style="background-color: #ff0000;"|no | + | | style="background-color:#ff0000;" |no |
|- | |- | ||
||webm | ||webm | ||
||yes | ||yes | ||
||yes | ||yes | ||
− | | style="background-color: #ff0000;"|no | + | | 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. | '''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:Manual:small.mp4]] | ||
==See also== | ==See also== | ||
Our [[Reference:Player|reference page.]] | Our [[Reference:Player|reference page.]] |