|
| _getCode ($sInit, $sClass, $iViewMode, $aParams, $bDynamicMode=false) |
|
| __construct ($aObject) |
|
| _addJsCss ($bDynamicMode=false) |
|
| _replaceMarkers ($s, $a) |
|
|
| $_oTemplate |
|
| $_bJsCssAdded = false |
|
| $_sObject |
|
| $_aObject |
|
| $_aConfCustom = array() |
|
| $_sSkin |
|
| $_aSkins |
|
| $_aSizes |
|
Basic HTML5 player representation.
- See also
- BxDolPlayer
◆ getCodeAudio()
BxBasePlayerHTML5::getCodeAudio |
( |
| $iViewMode, |
|
|
| $aParams, |
|
|
| $bDynamicMode = false ) |
Get player HTML code
- Parameters
-
$iViewMode | - player view mode: BX_PLAYER_STANDARD, BX_PLAYER_MINI, BX_PLAYER_EMBED |
$aParams | - player params: mp3, ogg, attrs, styles - See usage example. |
$bDynamicMode | - is AJAX mode or not, the HTML with player is loaded dynamically. |
Reimplemented from BxDolPlayer.
◆ getCodeVideo()
BxBasePlayerHTML5::getCodeVideo |
( |
| $iViewMode, |
|
|
| $aParams, |
|
|
| $bDynamicMode = false ) |
Get player HTML code
- Parameters
-
$iViewMode | - player view mode: BX_PLAYER_STANDARD, BX_PLAYER_MINI, BX_PLAYER_EMBED |
$aParams | - player params: poster, mp4, webm, attrs, styles - See usage example. |
$bDynamicMode | - is AJAX mode or not, the HTML with player is loaded dynamically. |
Reimplemented from BxDolPlayer.
◆ $CONF_EMBED
BxBasePlayerHTML5::$CONF_EMBED = "" |
|
staticprotected |
Embed view initialization params
◆ $CONF_LANGS
BxBasePlayerHTML5::$CONF_LANGS = array() |
|
staticprotected |
Available player languages
◆ $CONF_MINI
BxBasePlayerHTML5::$CONF_MINI = "" |
|
staticprotected |
Minimal view initialization params
◆ $CONF_STANDARD
BxBasePlayerHTML5::$CONF_STANDARD |
|
staticprotected |
Initial value:= "
<video {attrs}>
{webm}
{mp4}
</video>
"
Standard view initialization params
◆ $CONF_STANDARD_AUDIO
BxBasePlayerHTML5::$CONF_STANDARD_AUDIO |
|
staticprotected |
Initial value:= "
<audio {attrs}>
{mp3}
</audio>
"
Standard view initialization params for audio
The documentation for this class was generated from the following file:
- template/scripts/BxBasePlayerHTML5.php