Difference between revisions of "Reference:BlueSpicePlayer"
(Tag: 2017 source edit) |
Extension: BlueSpicePlayer
Overview | |||
---|---|---|---|
Description: | integrates Embed a HTML video media player on a page. | ||
State: | stable | Dependency: | BlueSpice |
Developer: | HalloWelt | License: |
GPL-3.0-onlyProperty "BSExtensionInfoLicense" (as page type) with input value "</br>GPL-3.0-only" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
Type: | BlueSpice | Category: | Rich Articles |
Edition: | BlueSpice pro, BlueSpice Farm, BlueSpice Cloud | ||
Features
BlueSpice Player is a video player that enables you to play all the usual HTML5 video formats in your wiki.
Technical background[edit | edit source]
Showtime is based on VideoJS, a free player framework.
How do I use Showtime?[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:
- Activated with the <bs: showtime> Video.mp4 </ showtime> tag
-
Settings:
- change the size
- start the video immediately (autoplay)
- play the video in a loop
- Supported formats: mp4, ogv, flv
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.
- and webm
- It is possible to include multiple videos on one page
- In IE and flv, the HTML5 player falls back to a Flash version (default in VideoJS)
- For compatibility reasons, bs: jwplayer is also supported as a tag
In the user settings (Special:Perferences
) under Appearance, users can set if the videos should start automatically.
Technical Information[edit source]
This information applies to BlueSpice 3 . Technical details for BlueSpice cloud can differ in some cases.
Configuration[edit source]
Name | Value |
---|---|
ShowtimePrefHeight | 240 |
ShowtimePrefWidth | 320 |
User options[edit source]
Name | Value |
---|---|
bs-showtime-pref-autostart | false |
Hooks[edit source]
{{BSExtensionInfoboxBSExtensionInfo |desc=integrates aIntegrates an HTML video player. for uploaded videos |status=stable |developer=HalloWelt |type=BlueSpice |edition=BlueSpice pro , BlueSpice Farm, BlueSpice Cloud |compatible=BlueSpice |category=Rich Articles |docu=https://www.mediawiki.org/wiki/Extension:Showtime }} '''Showtimelicense=GPL v2+ |features= BlueSpice '''Player''' is a video player that enables you to play all the usual HTML5 video formats in your wiki. ==Technical background== '''Showtime''' is based on '''VideoJS''', a free player framework. ==How do I use Showtime?== 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: <div style="text-align: center;">'''mp4, ogv, flv, webm'''</div> ===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;"|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;"|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. [[de:{{FULLPAGENAME}}]][[en:{{FULLPAGENAME}}]] [[Category:Extension]]* Activated with the <bs: showtime> Video.mp4 </ showtime> tag * Settings: ** change the size ** start the video immediately (autoplay) ** play the video in a loop * Supported formats: mp4, ogv, flv and webm * It is possible to include multiple videos on one page * In IE and flv, the HTML5 player falls back to a Flash version (default in VideoJS) * For compatibility reasons, ''bs: jwplayer'' is also supported as a tag In the user settings (<code>Special:Perferences</code>) under ''Appearance,'' users can set if the videos should start automatically. }}
(21 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{BSExtensionInfo |
− | |desc= | + | |desc=Integrates an HTML video player for uploaded videos |
|status=stable | |status=stable | ||
|developer=HalloWelt | |developer=HalloWelt | ||
|type=BlueSpice | |type=BlueSpice | ||
− | |edition=BlueSpice pro | + | |edition=BlueSpice pro, BlueSpice Farm, BlueSpice Cloud |
|compatible=BlueSpice | |compatible=BlueSpice | ||
|category=Rich Articles | |category=Rich Articles | ||
− | | | + | |license=GPL v2+ |
− | + | |features= BlueSpice '''Player''' is a video player that enables you to play all the usual HTML5 video formats in your wiki. | |
− | ''' | ||
− | + | * Activated with the <bs: showtime> Video.mp4 </ showtime> tag | |
− | + | * Settings: | |
+ | ** change the size | ||
+ | ** start the video immediately (autoplay) | ||
+ | ** play the video in a loop | ||
+ | * Supported formats: mp4, ogv, flv and webm | ||
+ | * It is possible to include multiple videos on one page | ||
+ | * In IE and flv, the HTML5 player falls back to a Flash version (default in VideoJS) | ||
+ | * For compatibility reasons, ''bs: jwplayer'' is also supported as a tag | ||
− | + | In the user settings (<code>Special:Perferences</code>) under ''Appearance,'' users can set if the videos should start automatically. | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |