UNA
BxPlyrPlayer Class Reference
Inheritance diagram for BxPlyrPlayer:
BxDolPlayer BxDolFactory iBxDolFactoryObject

Public Member Functions

 __construct ($aObject, $oTemplate)
 getCodeAudio ($iViewMode, $aParams, $bDynamicMode=false)
 getCodeVideo ($iViewMode, $aParams, $bDynamicMode=false)
Public Member Functions inherited from BxDolPlayer
 getObjectName ()
 setCustomConf ($a)
 setVideoSize ($sName, $iSize)
 getSkins ($bFullInfo=false)
 setSkin ($sSkin)

Protected Member Functions

 _getCodePlyr ($sInit, $sClass, $aControls, $aSettings, $iViewMode, $aParams, $bDynamicMode=false)
 _addJsCss ($bDynamicMode=false, $sInitEditor='')
 _getJsCss ($bUseUrlsForJs=false)
Protected Member Functions inherited from BxDolPlayer
 __construct ($aObject)
 _addJsCss ($bDynamicMode=false)
 _replaceMarkers ($s, $a)

Protected Attributes

 $_oTemplate
 $_bJsCssAdded = false
Protected Attributes inherited from BxDolPlayer
 $_sObject
 $_aObject
 $_aConfCustom = array()
 $_sSkin
 $_aSkins
 $_aSizes

Static Protected Attributes

static $CONF_STANDARD
static $CONF_STANDARD_AUDIO
static $CONF_MINI = ""
static $CONF_EMBED = ""

Additional Inherited Members

Static Public Member Functions inherited from BxDolPlayer
static getObjectInstance ($sObject=false, $oTemplate=false)
Static Public Member Functions inherited from iBxDolFactoryObject
static getObjectInstance ($sObject)

Detailed Description

Plyr player integration.

See also
BxDolPlayer

Member Function Documentation

◆ _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.

Member Data Documentation

◆ $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