|
| _getCodePlyr ($sInit, $sClass, $aControls, $aSettings, $iViewMode, $aParams, $bDynamicMode=false) |
|
| _addJsCss ($bDynamicMode=false, $sInitEditor='') |
|
| _getJsCss ($bUseUrlsForJs=false) |
|
| __construct ($aObject) |
|
| _addJsCss ($bDynamicMode=false) |
|
| _replaceMarkers ($s, $a) |
|
|
| $_oTemplate |
|
| $_bJsCssAdded = false |
|
| $_sObject |
|
| $_aObject |
|
| $_aConfCustom = array() |
|
| $_sSkin |
|
| $_aSkins |
|
| $_aSizes |
|
Plyr player integration.
- See also
- BxDolPlayer
◆ _addJsCss()
BxPlyrPlayer::_addJsCss |
( |
| $bDynamicMode = false, |
|
|
| $sInitEditor = '' ) |
|
protected |
Add css/js files which are needed for editor display and functionality.
◆ getCodeAudio()
BxPlyrPlayer::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()
BxPlyrPlayer::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
BxPlyrPlayer::$CONF_EMBED = "" |
|
staticprotected |
Embed view initialization params
◆ $CONF_MINI
BxPlyrPlayer::$CONF_MINI = "" |
|
staticprotected |
Minimal view initialization params
◆ $CONF_STANDARD
BxPlyrPlayer::$CONF_STANDARD |
|
staticprotected |
Initial value:= '
<div {attrs_wrapper}>
<video {attrs}>
{webm}
{mp4}
{captions}
</video>
</div>
'
Standard view initialization params
◆ $CONF_STANDARD_AUDIO
BxPlyrPlayer::$CONF_STANDARD_AUDIO |
|
staticprotected |
Initial value:= '
<div {attrs_wrapper}>
<audio {attrs}>
{mp3}
</audio>
</div>
'
Standard view initialization params for audio
The documentation for this class was generated from the following file:
- modules/boonex/plyr/classes/BxPlyrPlayer.php