UNA
Loading...
Searching...
No Matches
BxBasePlayerHTML5 Class Reference
Inheritance diagram for BxBasePlayerHTML5:
BxDolPlayer BxDolFactory iBxDolFactoryObject BxTemplPlayerHtml5

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

 _getCode ($sInit, $sClass, $iViewMode, $aParams, $bDynamicMode=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 = ""
 
static $CONF_LANGS = array()
 

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

Basic HTML5 player representation.

See also
BxDolPlayer

Member Function Documentation

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

Member Data Documentation

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