UNPKG

clappr

Version:

An extensible media player for the web

4,728 lines 200 kB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Player - Clappr</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="icon" href="../assets/favicon.ico">
    <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
                <h1><img src="https://cloud.githubusercontent.com/assets/244265/6373134/a845eb50-bce7-11e4-80f2-592ba29972ab.png" title="Clappr"></h1>
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: 0.2.41</em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
                    <h2 class="off-left">APIs</h2>
                    <div id="api-tabview" class="tabview">
                        <ul class="tabs">
                            <li><a href="#api-classes">Classes</a></li>
                            <li><a href="#api-modules">Modules</a></li>
                        </ul>
                
                        <div id="api-tabview-filter">
                            <input type="search" id="api-filter" placeholder="Type to filter APIs">
                        </div>
                
                        <div id="api-tabview-panel">
                            <ul id="api-classes" class="apis classes">
                                <li><a href="../classes/BaseObject.html">BaseObject</a></li>
                                <li><a href="../classes/Container.html">Container</a></li>
                                <li><a href="../classes/ContainerPlugin.html">ContainerPlugin</a></li>
                                <li><a href="../classes/Core.html">Core</a></li>
                                <li><a href="../classes/CoreFactory.html">CoreFactory</a></li>
                                <li><a href="../classes/Events.html">Events</a></li>
                                <li><a href="../classes/Loader.html">Loader</a></li>
                                <li><a href="../classes/Playback.html">Playback</a></li>
                                <li><a href="../classes/Player.html">Player</a></li>
                                <li><a href="../classes/UIContainerPlugin.html">UIContainerPlugin</a></li>
                                <li><a href="../classes/UIObject.html">UIObject</a></li>
                            </ul>
                
                            <ul id="api-modules" class="apis modules">
                                <li><a href="../modules/base.html">base</a></li>
                                <li><a href="../modules/components.html">components</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
                    Show:
                    <label for="api-show-inherited">
                        <input type="checkbox" id="api-show-inherited" checked>
                        Inherited
                    </label>
            
                    <label for="api-show-protected">
                        <input type="checkbox" id="api-show-protected">
                        Protected
                    </label>
            
                    <label for="api-show-private">
                        <input type="checkbox" id="api-show-private">
                        Private
                    </label>
                    <label for="api-show-deprecated">
                        <input type="checkbox" id="api-show-deprecated">
                        Deprecated
                    </label>
            
                </div>
            
            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
<h1>Player Class</h1>
<div class="box meta">

        <div class="extends">
            Extends <a href="../classes/BaseObject.html" class="crosslink">BaseObject</a>
        </div>

        <div class="foundat">
            Defined in: <a href="../files/src_components_player.js.html#l18"><code>src&#x2F;components&#x2F;player.js:18</code></a>
        </div>

            Module: <a href="../modules/components.html">components</a>

</div>


<div class="box intro">
    
</div>

    <div class="constructor">
        <h2>Constructor</h2>
<div id="method_Player" class="method item">
    <h3 class="name"><code>Player</code></h3>

        <span class="paren">()</span>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l18"><code>src&#x2F;components&#x2F;player.js:18</code></a>
        </p>



    </div>

    <div class="description">
        
    </div>




        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <h3>Using the Player</h3>
<p>Add the following script on your HTML:</p>
<pre class="code prettyprint"><code class="language-html">&lt;head&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;http://cdn.clappr.io/latest/clappr.min.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
</code></pre>
<p>Now, create the player:</p>
<pre class="code prettyprint"><code class="language-html">&lt;body&gt;
  &lt;div id=&quot;player&quot;&gt;&lt;/div&gt;
  &lt;script&gt;
    var player = new Clappr.Player({source: &quot;http://your.video/here.mp4&quot;, parentId: &quot;#player&quot;});
  &lt;/script&gt;
&lt;/body&gt;
</code></pre>

            </div>
        </div>
</div>
    </div>

<div id="classdocs" class="tabview">
    <ul class="api-class-tabs">
        <li class="api-class-tab index"><a href="#index">Index</a></li>

            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
            <li class="api-class-tab events"><a href="#events">Events</a></li>
    </ul>

    <div>
        <div id="index" class="api-class-tabpanel index">
            <h2 class="off-left">Item Index</h2>

                <div class="index-section methods">
                    <h3>Methods</h3>

                    <ul class="index-list methods extends">
                            <li class="index-item method">
                                <a href="#method_attachTo">attachTo</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_configure">configure</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_constructor">constructor</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_destroy">destroy</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_getCurrentTime">getCurrentTime</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_getDuration">getDuration</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_getPlugin">getPlugin</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_getStartTimeOffset">getStartTimeOffset</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_getVolume">getVolume</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_isPlaying">isPlaying</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_listenTo">listenTo</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_listenToOnce">listenToOnce</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_load">load</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_mute">mute</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_off">off</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_on">on</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_once">once</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_pause">pause</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_play">play</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_resize">resize</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_seek">seek</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_seekPercentage">seekPercentage</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_setParentId">setParentId</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_setVolume">setVolume</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_stop">stop</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_stopListening">stopListening</a>

                            </li>
                            <li class="index-item method inherited">
                                <a href="#method_trigger">trigger</a>

                            </li>
                            <li class="index-item method">
                                <a href="#method_unmute">unmute</a>

                            </li>
                    </ul>
                </div>

                <div class="index-section properties">
                    <h3>Properties</h3>

                    <ul class="index-list properties extends">
                            <li class="index-item property">
                                <a href="#property_buffering">buffering</a>

                            </li>
                            <li class="index-item property">
                                <a href="#property_ended">ended</a>

                            </li>
                            <li class="index-item property">
                                <a href="#property_eventsMapping">eventsMapping</a>

                            </li>
                            <li class="index-item property inherited">
                                <a href="#property_uniqueId">uniqueId</a>

                            </li>
                    </ul>
                </div>


                <div class="index-section events">
                    <h3>Events</h3>

                    <ul class="index-list events extends">
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_BITRATE">CONTAINER_BITRATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_HIGHDEFINITIONUPDATE">CONTAINER_HIGHDEFINITIONUPDATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_LOADEDMETADATA">CONTAINER_LOADEDMETADATA</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_MEDIACONTROL_HIDE">CONTAINER_MEDIACONTROL_HIDE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_MEDIACONTROL_SHOW">CONTAINER_MEDIACONTROL_SHOW</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_OPTIONS_CHANGE">CONTAINER_OPTIONS_CHANGE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_PLAYBACKSTATE">CONTAINER_PLAYBACKSTATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_PROGRESS">CONTAINER_PROGRESS</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_READY">CONTAINER_READY</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_SEEK">CONTAINER_SEEK</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_SETTINGSUPDATE">CONTAINER_SETTINGSUPDATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_STATE_BUFFERFULL">CONTAINER_STATE_BUFFERFULL</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_STATE_BUFFERING">CONTAINER_STATE_BUFFERING</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CONTAINER_TIMEUPDATE">CONTAINER_TIMEUPDATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_CORE_OPTIONS_CHANGE">CORE_OPTIONS_CHANGE</a>

                            </li>
                            <li class="index-item event inherited inherited">
                                <a href="#event_CORE_READY">CORE_READY</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_MEDIACONTROL_CONTAINERCHANGED">MEDIACONTROL_CONTAINERCHANGED</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_MEDIACONTROL_FULLSCREEN">MEDIACONTROL_FULLSCREEN</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_MEDIACONTROL_HIDE">MEDIACONTROL_HIDE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_MEDIACONTROL_MOUSELEAVE_SEEKBAR">MEDIACONTROL_MOUSELEAVE_SEEKBAR</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_MEDIACONTROL_MOUSEMOVE_SEEKBAR">MEDIACONTROL_MOUSEMOVE_SEEKBAR</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_MEDIACONTROL_NOTPLAYING">MEDIACONTROL_NOTPLAYING</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_MEDIACONTROL_PLAYING">MEDIACONTROL_PLAYING</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_MEDIACONTROL_SHOW">MEDIACONTROL_SHOW</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_BITRATE">PLAYBACK_BITRATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_BUFFERFULL">PLAYBACK_BUFFERFULL</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_BUFFERING">PLAYBACK_BUFFERING</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_DVR">PLAYBACK_DVR</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_ENDED">PLAYBACK_ENDED</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_ERROR">PLAYBACK_ERROR</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_HIGHDEFINITIONUPDATE">PLAYBACK_HIGHDEFINITIONUPDATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_LEVEL_SWITCH_END">PLAYBACK_LEVEL_SWITCH_END</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_LEVEL_SWITCH_START">PLAYBACK_LEVEL_SWITCH_START</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_LEVELS_AVAILABLE">PLAYBACK_LEVELS_AVAILABLE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_LOADEDMETADATA">PLAYBACK_LOADEDMETADATA</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_PAUSE">PLAYBACK_PAUSE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_PLAY">PLAYBACK_PLAY</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_PLAYBACKSTATE">PLAYBACK_PLAYBACKSTATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_PROGRESS">PLAYBACK_PROGRESS</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_READY">PLAYBACK_READY</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_SETTINGSUPDATE">PLAYBACK_SETTINGSUPDATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_STOP">PLAYBACK_STOP</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYBACK_TIMEUPDATE">PLAYBACK_TIMEUPDATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_ENDED">PLAYER_ENDED</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_ERROR">PLAYER_ERROR</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_FULLSCREEN">PLAYER_FULLSCREEN</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_PAUSE">PLAYER_PAUSE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_PLAY">PLAYER_PLAY</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_READY">PLAYER_READY</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_RESIZE">PLAYER_RESIZE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_SEEK">PLAYER_SEEK</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_STOP">PLAYER_STOP</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_TIMEUPDATE">PLAYER_TIMEUPDATE</a>

                            </li>
                            <li class="index-item event inherited">
                                <a href="#event_PLAYER_VOLUMEUPDATE">PLAYER_VOLUMEUPDATE</a>

                            </li>
                    </ul>
                </div>
        </div>

            <div id="methods" class="api-class-tabpanel">
                <h2 class="off-left">Methods</h2>

<div id="method_attachTo" class="method item">
    <h3 class="name"><code>attachTo</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>element</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l210"><code>src&#x2F;components&#x2F;player.js:210</code></a>
        </p>



    </div>

    <div class="description">
        <p>You can use this method to attach the player to a given element. You don't need to do this when you specify it during the player instantiation passing the <code>parentId</code> param.</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">element</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>a given element.</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_configure" class="method item">
    <h3 class="name"><code>configure</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>options</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l432"><code>src&#x2F;components&#x2F;player.js:432</code></a>
        </p>



    </div>

    <div class="description">
        <p>enables to configure a player after its creation</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">options</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>all the options to change in form of a javascript object</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_constructor" class="method item">
    <h3 class="name"><code>constructor</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>options</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
            <p>Inherited from
            <a href="../classes/BaseObject.html#method_constructor">
                BaseObject
            </a>
            but overwritten in
        <a href="../files/src_components_player.js.html#l96"><code>src&#x2F;components&#x2F;player.js:96</code></a>
        </p>



    </div>

    <div class="description">
        <h2>Player's constructor</h2>
<p>You might pass the options object to build the player.</p>
<pre class="code prettyprint"><code class="language-javascript">var options = {source: &quot;http://example.com/video.mp4&quot;, param1: &quot;val1&quot;};
var player = new Clappr.Player(options);
</code></pre>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">options</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>Data
options to build a player instance</p>

                    </div>

                        <ul class="params-list">
                            <li class="param">
                                    <code class="param-name optional">[width]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>player's width <strong>default</strong>: <code>640</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[height]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>player's height <strong>default</strong>: <code>360</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[parentId]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>the id of the element on the page that the player should be inserted into</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[parent]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>a reference to a dom element that the player should be inserted into</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[source]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>The media source URL, or {source: &lt;<source URL>&gt;, mimeType: &lt;<source mime type>&gt;}</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[sources]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>An array of media source URL's, or an array of {source: &lt;<source URL>&gt;, mimeType: &lt;<source mime type>&gt;}</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[autoPlay]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>automatically play after page load <strong>default</strong>: <code>false</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[loop]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>automatically replay after it ends <strong>default</strong>: <code>false</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[chromeless]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>player acts in chromeless mode <strong>default</strong>: <code>false</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[allowUserInteraction]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>whether or not the player should handle click events when in chromeless mode <strong>default</strong>: <code>false</code> on desktops browsers, <code>true</code> on mobile.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[disableKeyboardShortcuts]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>disable keyboard shortcuts. <strong>default</strong>: <code>false</code>. <code>true</code> if <code>allowUserInteraction</code> is <code>false</code>.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[muted]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>start the video muted <strong>default</strong>: <code>false</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[mimeType]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>add <code>mimeType: &quot;application/vnd.apple.mpegurl&quot;</code> if you need to use a url without extension.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[actualLiveTime]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>show duration and seek time relative to actual time.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[actualLiveServerTime]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>specify server time as a string, format: &quot;2015/11/26 06:01:03&quot;. This option is meant to be used with actualLiveTime.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[persistConfig]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>persist player's settings (volume) through the same domain <strong>default</strong>: <code>true</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[preload]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>video will be preloaded according to <code>preload</code> attribute options <strong>default</strong>: <code>'metadata'</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[maxBufferLength]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>the default behavior for the <strong>HLS playback</strong> is to keep buffering indefinitely, even on VoD. This replicates the behavior for progressive download, which continues buffering when pausing the video, thus making the video available for playback even on slow networks. To change this behavior use <code>maxBufferLength</code> where <strong>value is in seconds</strong>.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[gaAccount]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>enable Google Analytics events dispatch <strong>(play/pause/stop/buffering/etc)</strong> by adding your <code>gaAccount</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[gaTrackerName]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>besides <code>gaAccount</code> you can optionally, pass your favorite trackerName as <code>gaTrackerName</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[mediacontrol]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>customize control bar colors, example: <code>mediacontrol: {seekbar: &quot;#E113D3&quot;, buttons: &quot;#66B2FF&quot;}</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[hideMediaControl]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>control media control auto hide <strong>default</strong>: <code>true</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[hideVolumeBar]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>when embedded with width less than 320, volume bar will hide. You can force this behavior for all sizes by adding <code>true</code> <strong>default</strong>: <code>false</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[watermark]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>put <code>watermark: 'http://url/img.png'</code> on your embed parameters to automatically add watermark on your video. You can customize corner position by defining position parameter. Positions can be <code>bottom-left</code>, <code>bottom-right</code>, <code>top-left</code> and <code>top-right</code>.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[watermarkLink]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p><code>watermarkLink: 'http://example.net/'</code> - define URL to open when the watermark is clicked. If not provided watermark will not be clickable.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[disableVideoTagContextMenu]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>disables the context menu (right click) on the video element if a HTML5Video playback is used.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[autoSeekFromUrl]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>Automatically seek to the seconds provided in the url (e.g <a href="http://example.com?t=100">example.com?t=100</a>) <strong>default</strong>: <code>true</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[exitFullscreenOnEnd]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>Automatically exit full screen when the media finishes. <strong>default</strong>: <code>true</code></p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[poster]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>define a poster by adding its address <code>poster: 'http://url/img.png'</code>. It will appear after video embed, disappear on play and go back when user stops the video.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[playbackNotSupportedMessage]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>define a custom message to be displayed when a playback is not supported.</p>

                                </div>

                            </li>
                            <li class="param">
                                    <code class="param-name optional">[events]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>

                                <div class="param-description">
                                    <p>Specify listeners which will be registered with their corresponding player events.
E.g. onReady -&gt; &quot;PLAYER_READY&quot;, onTimeUpdate -&gt; &quot;PLAYER_TIMEUPDATE&quot;</p>

                                </div>

                            </li>
                        </ul>
                </li>
            </ul>
        </div>



</div>
<div id="method_destroy" class="method item">
    <h3 class="name"><code>destroy</code></h3>

        <span class="paren">()</span>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l338"><code>src&#x2F;components&#x2F;player.js:338</code></a>
        </p>



    </div>

    <div class="description">
        <p>destroys the current player and removes it from the DOM.</p>

    </div>




</div>
<div id="method_getCurrentTime" class="method item">
    <h3 class="name"><code>getCurrentTime</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l459"><code>src&#x2F;components&#x2F;player.js:459</code></a>
        </p>



    </div>

    <div class="description">
        <p>the current time in seconds.</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
                    <p>current time (in seconds) of the current source</p>

            </div>
        </div>


</div>
<div id="method_getDuration" class="method item">
    <h3 class="name"><code>getDuration</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l479"><code>src&#x2F;components&#x2F;player.js:479</code></a>
        </p>



    </div>

    <div class="description">
        <p>the duration time in seconds.</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
                    <p>duration time (in seconds) of the current source</p>

            </div>
        </div>


</div>
<div id="method_getPlugin" class="method item">
    <h3 class="name"><code>getPlugin</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>name</code>
                </li>
            </ul><span class="paren">)</span>
        </div>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l441"><code>src&#x2F;components&#x2F;player.js:441</code></a>
        </p>



    </div>

    <div class="description">
        <p>get a plugin by its name.</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>of the plugin.</p>

                    </div>

                </li>
            </ul>
        </div>

        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    <p>the plugin instance</p>

            </div>
        </div>


        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code class="language-javascript">var poster = player.getPlugin('poster');
poster.hidePlayButton();
</code></pre>

            </div>
        </div>
</div>
<div id="method_getStartTimeOffset" class="method item">
    <h3 class="name"><code>getStartTimeOffset</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l468"><code>src&#x2F;components&#x2F;player.js:468</code></a>
        </p>



    </div>

    <div class="description">
        <p>The time that &quot;0&quot; now represents relative to when playback started.
For a stream with a sliding window this will increase as content is
removed from the beginning.</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
                    <p>time (in seconds) that time &quot;0&quot; represents.</p>

            </div>
        </div>


</div>
<div id="method_getVolume" class="method item">
    <h3 class="name"><code>getVolume</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l398"><code>src&#x2F;components&#x2F;player.js:398</code></a>
        </p>



    </div>

    <div class="description">
        <p>Get the volume for the current video</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>:
                    <p>volume should be a number between 0 and 100, 0 being mute and 100 the max volume.</p>

            </div>
        </div>


</div>
<div id="method_isPlaying" class="method item">
    <h3 class="name"><code>isPlaying</code></h3>

        <span class="paren">()</span>

        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
        </span>







    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l423"><code>src&#x2F;components&#x2F;player.js:423</code></a>
        </p>



    </div>

    <div class="description">
        <p>checks if the player is playing.</p>

    </div>


        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
                    <p><code>true</code> if the current source is playing, otherwise <code>false</code></p>

            </div>
        </div>


</div>
<div id="method_listenTo" class="method item inherited">
    <h3 class="name"><code>listenTo</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>obj</code>
                </li>
                <li class="arg">
                        <code>name</code>
                </li>
                <li class="arg">
                        <code>callback</code>
                </li>
                <li class="arg">
                        <code>context</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/Events.html#method_listenTo">Events</a>:
        <a href="../files/src_base_events.js.html#l167"><code>src&#x2F;base&#x2F;events.js:167</code></a>
        </p>



    </div>

    <div class="description">
        <p>listen to an event indefinitely for a given <code>obj</code></p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">obj</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">callback</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">context</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
            </ul>
        </div>



        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code class="language-javascript">this.listenTo(this.core.playback, Events.PLAYBACK_PAUSE, this.callback)
</code></pre>

            </div>
        </div>
</div>
<div id="method_listenToOnce" class="method item inherited">
    <h3 class="name"><code>listenToOnce</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>obj</code>
                </li>
                <li class="arg">
                        <code>name</code>
                </li>
                <li class="arg">
                        <code>callback</code>
                </li>
                <li class="arg">
                        <code>context</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/Events.html#method_listenToOnce">Events</a>:
        <a href="../files/src_base_events.js.html#l179"><code>src&#x2F;base&#x2F;events.js:179</code></a>
        </p>



    </div>

    <div class="description">
        <p>listen to an event once for a given <code>obj</code></p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">obj</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">callback</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">context</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
            </ul>
        </div>



        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code class="language-javascript">this.listenToOnce(this.core.playback, Events.PLAYBACK_PAUSE, this.callback)
</code></pre>

            </div>
        </div>
</div>
<div id="method_load" class="method item">
    <h3 class="name"><code>load</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>sources</code>
                </li>
                <li class="arg">
                        <code>mimeType</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l326"><code>src&#x2F;components&#x2F;player.js:326</code></a>
        </p>



    </div>

    <div class="description">
        <p>loads a new source.</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">sources</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>source or sources of video.
sources can be a string or {source: &lt;<source URL>&gt;, mimeType: &lt;<source mime type>&gt;}</p>

                    </div>

                </li>
                <li class="param">
                        <code class="param-name">mimeType</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>a mime type, example: <code>'application/vnd.apple.mpegurl'</code></p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_mute" class="method item">
    <h3 class="name"><code>mute</code></h3>

        <span class="paren">()</span>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l407"><code>src&#x2F;components&#x2F;player.js:407</code></a>
        </p>



    </div>

    <div class="description">
        <p>mutes the current video (<code>source</code>).</p>

    </div>




</div>
<div id="method_off" class="method item inherited">
    <h3 class="name"><code>off</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>name</code>
                </li>
                <li class="arg">
                        <code>callback</code>
                </li>
                <li class="arg">
                        <code>context</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/Events.html#method_off">Events</a>:
        <a href="../files/src_base_events.js.html#l86"><code>src&#x2F;base&#x2F;events.js:86</code></a>
        </p>



    </div>

    <div class="description">
        <p>stop listening to an event</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">callback</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">context</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_on" class="method item inherited">
    <h3 class="name"><code>on</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>name</code>
                </li>
                <li class="arg">
                        <code>callback</code>
                </li>
                <li class="arg">
                        <code>context</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/Events.html#method_on">Events</a>:
        <a href="../files/src_base_events.js.html#l53"><code>src&#x2F;base&#x2F;events.js:53</code></a>
        </p>



    </div>

    <div class="description">
        <p>listen to an event indefinitely, if you want to stop you need to call <code>off</code></p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">callback</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">context</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_once" class="method item inherited">
    <h3 class="name"><code>once</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>name</code>
                </li>
                <li class="arg">
                        <code>callback</code>
                </li>
                <li class="arg">
                        <code>context</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/Events.html#method_once">Events</a>:
        <a href="../files/src_base_events.js.html#l68"><code>src&#x2F;base&#x2F;events.js:68</code></a>
        </p>



    </div>

    <div class="description">
        <p>listen to an event only once</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">callback</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">context</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_pause" class="method item">
    <h3 class="name"><code>pause</code></h3>

        <span class="paren">()</span>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l354"><code>src&#x2F;components&#x2F;player.js:354</code></a>
        </p>



    </div>

    <div class="description">
        <p>pauses the current video (<code>source</code>).</p>

    </div>




</div>
<div id="method_play" class="method item">
    <h3 class="name"><code>play</code></h3>

        <span class="paren">()</span>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l346"><code>src&#x2F;components&#x2F;player.js:346</code></a>
        </p>



    </div>

    <div class="description">
        <p>plays the current video (<code>source</code>).</p>

    </div>




</div>
<div id="method_resize" class="method item">
    <h3 class="name"><code>resize</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>size</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l313"><code>src&#x2F;components&#x2F;player.js:313</code></a>
        </p>



    </div>

    <div class="description">
        <p>resizes the current player canvas.</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">size</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                        <p>should be a literal object with <code>height</code> and <code>width</code>.</p>

                    </div>

                </li>
            </ul>
        </div>



        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code class="language-javascript">player.resize({height: 360, width: 640})
</code></pre>

            </div>
        </div>
</div>
<div id="method_seek" class="method item">
    <h3 class="name"><code>seek</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>time</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l371"><code>src&#x2F;components&#x2F;player.js:371</code></a>
        </p>



    </div>

    <div class="description">
        <p>seeks the current video (<code>source</code>). For example, <code>player.seek(120)</code> will seek to second 120 (2minutes) of the current video.</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">time</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>


                    <div class="param-description">
                        <p>should be a number between 0 and the video duration.</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_seekPercentage" class="method item">
    <h3 class="name"><code>seekPercentage</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>time</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l380"><code>src&#x2F;components&#x2F;player.js:380</code></a>
        </p>



    </div>

    <div class="description">
        <p>seeks the current video (<code>source</code>). For example, <code>player.seek(50)</code> will seek to the middle of the current video.</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">time</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>


                    <div class="param-description">
                        <p>should be a number between 0 and 100.</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_setParentId" class="method item">
    <h3 class="name"><code>setParentId</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>parentId</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l198"><code>src&#x2F;components&#x2F;player.js:198</code></a>
        </p>



    </div>

    <div class="description">
        <p>Specify a <code>parentId</code> to the player.</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">parentId</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                        <p>the element parent id.</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_setVolume" class="method item">
    <h3 class="name"><code>setVolume</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>volume</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l389"><code>src&#x2F;components&#x2F;player.js:389</code></a>
        </p>



    </div>

    <div class="description">
        <p>Set the volume for the current video (<code>source</code>).</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">volume</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>


                    <div class="param-description">
                        <p>should be a number between 0 and 100, 0 being mute and 100 the max volume.</p>

                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_stop" class="method item">
    <h3 class="name"><code>stop</code></h3>

        <span class="paren">()</span>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l362"><code>src&#x2F;components&#x2F;player.js:362</code></a>
        </p>



    </div>

    <div class="description">
        <p>stops the current video (<code>source</code>).</p>

    </div>




</div>
<div id="method_stopListening" class="method item inherited">
    <h3 class="name"><code>stopListening</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>obj</code>
                </li>
                <li class="arg">
                        <code>name</code>
                </li>
                <li class="arg">
                        <code>callback</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/Events.html#method_stopListening">Events</a>:
        <a href="../files/src_base_events.js.html#l144"><code>src&#x2F;base&#x2F;events.js:144</code></a>
        </p>



    </div>

    <div class="description">
        <p>stop listening an event for a given object</p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">obj</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
                <li class="param">
                        <code class="param-name">callback</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_trigger" class="method item inherited">
    <h3 class="name"><code>trigger</code></h3>

        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
                <li class="arg">
                        <code>name</code>
                </li>
            </ul><span class="paren">)</span>
        </div>








    <div class="meta">
                <p>Inherited from
                <a href="../classes/Events.html#method_trigger">Events</a>:
        <a href="../files/src_base_events.js.html#l122"><code>src&#x2F;base&#x2F;events.js:122</code></a>
        </p>



    </div>

    <div class="description">
        <p>triggers an event given its <code>name</code></p>

    </div>

        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
                <li class="param">
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>


                    <div class="param-description">
                         
                    </div>

                </li>
            </ul>
        </div>



</div>
<div id="method_unmute" class="method item">
    <h3 class="name"><code>unmute</code></h3>

        <span class="paren">()</span>








    <div class="meta">
                <p>
                Defined in
        <a href="../files/src_components_player.js.html#l415"><code>src&#x2F;components&#x2F;player.js:415</code></a>
        </p>



    </div>

    <div class="description">
        <p>unmutes the current video (<code>source</code>).</p>

    </div>




</div>
            </div>

            <div id="properties" class="api-class-tabpanel">
                <h2 class="off-left">Properties</h2>

                    <div id="property_buffering" class="property item">
                        <h3 class="name"><code>buffering</code></h3>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>
                                    Defined in
                            <a href="../files/src_components_player.js.html#l56"><code>src&#x2F;components&#x2F;player.js:56</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Determine if the playback is having to buffer in order for
                    playback to be smooth.
                    (i.e if a live stream is playing smoothly, this will be false)</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="property_ended" class="property item">
                        <h3 class="name"><code>ended</code></h3>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>
                                    Defined in
                            <a href="../files/src_components_player.js.html#l47"><code>src&#x2F;components&#x2F;player.js:47</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Determine if the playback has ended.</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="property_eventsMapping" class="property item">
                        <h3 class="name"><code>eventsMapping</code></h3>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>
                                    Defined in
                            <a href="../files/src_components_player.js.html#l76"><code>src&#x2F;components&#x2F;player.js:76</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>An events map that allows the user to add custom callbacks in player's options.</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="property_uniqueId" class="property item inherited">
                        <h3 class="name"><code>uniqueId</code></h3>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/BaseObject.html#property_uniqueId">BaseObject</a>:
                            <a href="../files/src_base_base_object.js.html#l23"><code>src&#x2F;base&#x2F;base_object.js:23</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>a unique id prefixed with <code>'o'</code>, <code>o1, o232</code></p>
                    
                        </div>
                    
                    
                    
                    </div>
            </div>


            <div id="events" class="api-class-tabpanel">
                <h2 class="off-left">Events</h2>

                    <div id="event_CONTAINER_BITRATE" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_BITRATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_BITRATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l501"><code>src&#x2F;base&#x2F;events.js:501</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the container updates its bitrate</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">bitrate</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    bitrate object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[bandwidth]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>bitrate bandwidth when it's available</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[width]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>playback width (ex: 720, 640, 1080)</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[height]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>playback height (ex: 240, 480, 720)</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[level]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>playback level when it's available, it could be just a map for width (0 =&gt; 240, 1 =&gt; 480, 2 =&gt; 720)</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_CONTAINER_HIGHDEFINITIONUPDATE" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_HIGHDEFINITIONUPDATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_HIGHDEFINITIONUPDATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l600"><code>src&#x2F;base&#x2F;events.js:600</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when container updates its video quality</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">isHD
                    true</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>when is on HD, false otherwise</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_CONTAINER_LOADEDMETADATA" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_LOADEDMETADATA</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_LOADEDMETADATA">Events</a>:
                            <a href="../files/src_base_events.js.html#l526"><code>src&#x2F;base&#x2F;events.js:526</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the container loaded its metadata</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">metadata</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    settings object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[duration]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>the playback duration</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[data]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>extra meta data</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_CONTAINER_MEDIACONTROL_HIDE" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_MEDIACONTROL_HIDE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_MEDIACONTROL_HIDE">Events</a>:
                            <a href="../files/src_base_events.js.html#l615"><code>src&#x2F;base&#x2F;events.js:615</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media control hides</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_CONTAINER_MEDIACONTROL_SHOW" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_MEDIACONTROL_SHOW</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_MEDIACONTROL_SHOW">Events</a>:
                            <a href="../files/src_base_events.js.html#l609"><code>src&#x2F;base&#x2F;events.js:609</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media control shows</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_CONTAINER_OPTIONS_CHANGE" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_OPTIONS_CHANGE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_OPTIONS_CHANGE">Events</a>:
                            <a href="../files/src_base_events.js.html#l625"><code>src&#x2F;base&#x2F;events.js:625</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the options were changed for the container</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_CONTAINER_PLAYBACKSTATE" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_PLAYBACKSTATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_PLAYBACKSTATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l490"><code>src&#x2F;base&#x2F;events.js:490</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the container internal state changes</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">state</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    state object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[type]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>the playback type</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_CONTAINER_PROGRESS" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_PROGRESS</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_PROGRESS">Events</a>:
                            <a href="../files/src_base_events.js.html#l550"><code>src&#x2F;base&#x2F;events.js:550</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the container is downloading the media</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">progress</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    progress object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[start]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>initial downloaded content</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[current]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>current dowloaded content</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[total]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>total content to be downloaded</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_CONTAINER_READY" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_READY</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_READY">Events</a>:
                            <a href="../files/src_base_events.js.html#l519"><code>src&#x2F;base&#x2F;events.js:519</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the container is ready</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_CONTAINER_SEEK" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_SEEK</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_SEEK">Events</a>:
                            <a href="../files/src_base_events.js.html#l573"><code>src&#x2F;base&#x2F;events.js:573</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the container seeks the video</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">time</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>the current time in seconds</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_CONTAINER_SETTINGSUPDATE" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_SETTINGSUPDATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_SETTINGSUPDATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l594"><code>src&#x2F;base&#x2F;events.js:594</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the container changes any settings (volume, seek and etc)</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_CONTAINER_STATE_BUFFERFULL" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_STATE_BUFFERFULL</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_STATE_BUFFERFULL">Events</a>:
                            <a href="../files/src_base_events.js.html#l588"><code>src&#x2F;base&#x2F;events.js:588</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the container filled the buffer</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_CONTAINER_STATE_BUFFERING" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_STATE_BUFFERING</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_STATE_BUFFERING">Events</a>:
                            <a href="../files/src_base_events.js.html#l582"><code>src&#x2F;base&#x2F;events.js:582</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when container is buffering</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_CONTAINER_TIMEUPDATE" class="events item inherited">
                        <h3 class="name"><code>CONTAINER_TIMEUPDATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CONTAINER_TIMEUPDATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l538"><code>src&#x2F;base&#x2F;events.js:538</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the time is updated on container</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">progress</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    progress object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[current]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>current time</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[total]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>total time</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_CORE_OPTIONS_CHANGE" class="events item inherited">
                        <h3 class="name"><code>CORE_OPTIONS_CHANGE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_CORE_OPTIONS_CHANGE">Events</a>:
                            <a href="../files/src_base_events.js.html#l469"><code>src&#x2F;base&#x2F;events.js:469</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the options were changed for the core</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_CORE_READY" class="events item inherited">
                        <h3 class="name"><code>CORE_READY</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                <p>Inherited from
                                <a href="../classes/Events.html#event_CORE_READY">
                                    Events
                                </a>
                                but overwritten in
                            <a href="../files/src_base_events.js.html#l475"><code>src&#x2F;base&#x2F;events.js:475</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired after creating containers, when the core is ready</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_MEDIACONTROL_CONTAINERCHANGED" class="events item inherited">
                        <h3 class="name"><code>MEDIACONTROL_CONTAINERCHANGED</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_MEDIACONTROL_CONTAINERCHANGED">Events</a>:
                            <a href="../files/src_base_events.js.html#l680"><code>src&#x2F;base&#x2F;events.js:680</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the container was changed</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_MEDIACONTROL_FULLSCREEN" class="events item inherited">
                        <h3 class="name"><code>MEDIACONTROL_FULLSCREEN</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_MEDIACONTROL_FULLSCREEN">Events</a>:
                            <a href="../files/src_base_events.js.html#l634"><code>src&#x2F;base&#x2F;events.js:634</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the player enters/exit on fullscreen</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_MEDIACONTROL_HIDE" class="events item inherited">
                        <h3 class="name"><code>MEDIACONTROL_HIDE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_MEDIACONTROL_HIDE">Events</a>:
                            <a href="../files/src_base_events.js.html#l646"><code>src&#x2F;base&#x2F;events.js:646</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media control hides</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_MEDIACONTROL_MOUSELEAVE_SEEKBAR" class="events item inherited">
                        <h3 class="name"><code>MEDIACONTROL_MOUSELEAVE_SEEKBAR</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_MEDIACONTROL_MOUSELEAVE_SEEKBAR">Events</a>:
                            <a href="../files/src_base_events.js.html#l660"><code>src&#x2F;base&#x2F;events.js:660</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when mouse leaves the seekbar</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">event
                    the</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>javascript event</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_MEDIACONTROL_MOUSEMOVE_SEEKBAR" class="events item inherited">
                        <h3 class="name"><code>MEDIACONTROL_MOUSEMOVE_SEEKBAR</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_MEDIACONTROL_MOUSEMOVE_SEEKBAR">Events</a>:
                            <a href="../files/src_base_events.js.html#l652"><code>src&#x2F;base&#x2F;events.js:652</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when mouse enters on the seekbar</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">event
                    the</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>javascript event</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_MEDIACONTROL_NOTPLAYING" class="events item inherited">
                        <h3 class="name"><code>MEDIACONTROL_NOTPLAYING</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_MEDIACONTROL_NOTPLAYING">Events</a>:
                            <a href="../files/src_base_events.js.html#l674"><code>src&#x2F;base&#x2F;events.js:674</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media is not being played</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_MEDIACONTROL_PLAYING" class="events item inherited">
                        <h3 class="name"><code>MEDIACONTROL_PLAYING</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_MEDIACONTROL_PLAYING">Events</a>:
                            <a href="../files/src_base_events.js.html#l668"><code>src&#x2F;base&#x2F;events.js:668</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media is being played</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_MEDIACONTROL_SHOW" class="events item inherited">
                        <h3 class="name"><code>MEDIACONTROL_SHOW</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_MEDIACONTROL_SHOW">Events</a>:
                            <a href="../files/src_base_events.js.html#l640"><code>src&#x2F;base&#x2F;events.js:640</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media control shows</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_BITRATE" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_BITRATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_BITRATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l363"><code>src&#x2F;base&#x2F;events.js:363</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when playback updates its bitrate</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">bitrate</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    bitrate object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[bandwidth]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>bitrate bandwidth when it's available</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[width]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>playback width (ex: 720, 640, 1080)</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[height]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>playback height (ex: 240, 480, 720)</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[level]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>playback level when it's available, it could be just a map for width (0 =&gt; 240, 1 =&gt; 480, 2 =&gt; 720)</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYBACK_BUFFERFULL" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_BUFFERFULL</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_BUFFERFULL">Events</a>:
                            <a href="../files/src_base_events.js.html#l326"><code>src&#x2F;base&#x2F;events.js:326</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the playback has enough in the buffer to be
                    able to play smoothly, after previously being unable to
                    do this.</p>
                    <p>This corresponds to the playback <code>buffering</code> property being
                    <code>false</code>.</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_BUFFERING" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_BUFFERING</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_BUFFERING">Events</a>:
                            <a href="../files/src_base_events.js.html#l316"><code>src&#x2F;base&#x2F;events.js:316</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the playback starts having to buffer because
                    playback can currently not be smooth.</p>
                    <p>This corresponds to the playback <code>buffering</code> property being
                    <code>true</code>.</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_DVR" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_DVR</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_DVR">Events</a>:
                            <a href="../files/src_base_events.js.html#l414"><code>src&#x2F;base&#x2F;events.js:414</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when DVR becomes enabled/disabled.</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">state</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>true if dvr enabled</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYBACK_ENDED" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_ENDED</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_ENDED">Events</a>:
                            <a href="../files/src_base_events.js.html#l425"><code>src&#x2F;base&#x2F;events.js:425</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media for a playback ends.</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">name</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>the name of the playback</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYBACK_ERROR" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_ERROR</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_ERROR">Events</a>:
                            <a href="../files/src_base_events.js.html#l454"><code>src&#x2F;base&#x2F;events.js:454</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired if an error occurs in the playback.</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">error</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>An object containing the error details</p>
                    
                                        </div>
                    
                                    </li>
                                    <li class="param">
                                            <code class="param-name">name</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Playback name</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYBACK_HIGHDEFINITIONUPDATE" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_HIGHDEFINITIONUPDATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_HIGHDEFINITIONUPDATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l355"><code>src&#x2F;base&#x2F;events.js:355</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when playback updates its video quality</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">isHD
                    true</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>when is on HD, false otherwise</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYBACK_LEVEL_SWITCH_END" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_LEVEL_SWITCH_END</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_LEVEL_SWITCH_END">Events</a>:
                            <a href="../files/src_base_events.js.html#l396"><code>src&#x2F;base&#x2F;events.js:396</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the playback ends the level switch</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_LEVEL_SWITCH_START" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_LEVEL_SWITCH_START</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_LEVEL_SWITCH_START">Events</a>:
                            <a href="../files/src_base_events.js.html#l389"><code>src&#x2F;base&#x2F;events.js:389</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the playback starts to switch level</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_LEVELS_AVAILABLE" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_LEVELS_AVAILABLE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_LEVELS_AVAILABLE">Events</a>:
                            <a href="../files/src_base_events.js.html#l379"><code>src&#x2F;base&#x2F;events.js:379</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the playback has its levels</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">levels
                    the</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>ordered levels, each one with the following format <code>{id: 1, label: '500kbps'}</code> ps: id should be a number &gt;= 0</p>
                    
                                        </div>
                    
                                    </li>
                                    <li class="param">
                                            <code class="param-name">initial
                    the</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>initial level otherwise -1 (AUTO)</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYBACK_LOADEDMETADATA" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_LOADEDMETADATA</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_LOADEDMETADATA">Events</a>:
                            <a href="../files/src_base_events.js.html#l343"><code>src&#x2F;base&#x2F;events.js:343</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when playback loaded its metadata</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">metadata</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    settings object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[duration]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>the playback duration</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[data]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>extra meta data</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYBACK_PAUSE" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_PAUSE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_PAUSE">Events</a>:
                            <a href="../files/src_base_events.js.html#l442"><code>src&#x2F;base&#x2F;events.js:442</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media for a playback pauses.</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_PLAY" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_PLAY</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_PLAY">Events</a>:
                            <a href="../files/src_base_events.js.html#l432"><code>src&#x2F;base&#x2F;events.js:432</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media for a playback starts playing.
                    This is not necessarily when the user requests <code>play()</code>
                    The media may have to buffer first.
                    I.e. <code>isPlaying()</code> might return <code>true</code> before this event is fired,
                    because <code>isPlaying()</code> represents the intended state.</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_PLAYBACKSTATE" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_PLAYBACKSTATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_PLAYBACKSTATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l404"><code>src&#x2F;base&#x2F;events.js:404</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when playback internal state changes</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">state</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    state object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[type]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>the playback type</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYBACK_PROGRESS" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_PROGRESS</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_PROGRESS">Events</a>:
                            <a href="../files/src_base_events.js.html#l284"><code>src&#x2F;base&#x2F;events.js:284</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the playback is downloading the media</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">progress</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    progress object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[start]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>initial downloaded content</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[current]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>current dowloaded content</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[total]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>total content to be downloaded</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYBACK_READY" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_READY</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_READY">Events</a>:
                            <a href="../files/src_base_events.js.html#l310"><code>src&#x2F;base&#x2F;events.js:310</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when playback is ready</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_SETTINGSUPDATE" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_SETTINGSUPDATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_SETTINGSUPDATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l337"><code>src&#x2F;base&#x2F;events.js:337</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when playback changes any settings (volume, seek and etc)</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_STOP" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_STOP</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_STOP">Events</a>:
                            <a href="../files/src_base_events.js.html#l448"><code>src&#x2F;base&#x2F;events.js:448</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the media for a playback is stopped.</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYBACK_TIMEUPDATE" class="events item inherited">
                        <h3 class="name"><code>PLAYBACK_TIMEUPDATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYBACK_TIMEUPDATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l298"><code>src&#x2F;base&#x2F;events.js:298</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the time is updated on playback</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">progress</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    progress object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[current]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>current time</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[total]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>total time</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYER_ENDED" class="events item inherited">
                        <h3 class="name"><code>PLAYER_ENDED</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_ENDED">Events</a>:
                            <a href="../files/src_base_events.js.html#l243"><code>src&#x2F;base&#x2F;events.js:243</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when player ends the video</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYER_ERROR" class="events item inherited">
                        <h3 class="name"><code>PLAYER_ERROR</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_ERROR">Events</a>:
                            <a href="../files/src_base_events.js.html#l256"><code>src&#x2F;base&#x2F;events.js:256</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when player receives an error</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">error</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>the error</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYER_FULLSCREEN" class="events item inherited">
                        <h3 class="name"><code>PLAYER_FULLSCREEN</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_FULLSCREEN">Events</a>:
                            <a href="../files/src_base_events.js.html#l218"><code>src&#x2F;base&#x2F;events.js:218</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when player changes its fullscreen state</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">whether</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>or not the player is on fullscreen mode</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYER_PAUSE" class="events item inherited">
                        <h3 class="name"><code>PLAYER_PAUSE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_PAUSE">Events</a>:
                            <a href="../files/src_base_events.js.html#l231"><code>src&#x2F;base&#x2F;events.js:231</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when player pauses</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYER_PLAY" class="events item inherited">
                        <h3 class="name"><code>PLAYER_PLAY</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_PLAY">Events</a>:
                            <a href="../files/src_base_events.js.html#l225"><code>src&#x2F;base&#x2F;events.js:225</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when player starts to play</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYER_READY" class="events item inherited">
                        <h3 class="name"><code>PLAYER_READY</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_READY">Events</a>:
                            <a href="../files/src_base_events.js.html#l205"><code>src&#x2F;base&#x2F;events.js:205</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the player is ready on startup</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYER_RESIZE" class="events item inherited">
                        <h3 class="name"><code>PLAYER_RESIZE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_RESIZE">Events</a>:
                            <a href="../files/src_base_events.js.html#l211"><code>src&#x2F;base&#x2F;events.js:211</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when player resizes</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">currentSize</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>an object with the current size</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYER_SEEK" class="events item inherited">
                        <h3 class="name"><code>PLAYER_SEEK</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_SEEK">Events</a>:
                            <a href="../files/src_base_events.js.html#l249"><code>src&#x2F;base&#x2F;events.js:249</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when player seeks the video</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">time</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>the current time in seconds</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYER_STOP" class="events item inherited">
                        <h3 class="name"><code>PLAYER_STOP</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_STOP">Events</a>:
                            <a href="../files/src_base_events.js.html#l237"><code>src&#x2F;base&#x2F;events.js:237</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when player stops</p>
                    
                        </div>
                    
                    
                    
                    </div>
                    <div id="event_PLAYER_TIMEUPDATE" class="events item inherited">
                        <h3 class="name"><code>PLAYER_TIMEUPDATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_TIMEUPDATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l263"><code>src&#x2F;base&#x2F;events.js:263</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when the time is updated on player</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">progress</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>Data
                    progress object</p>
                    
                                        </div>
                    
                                            <ul class="params-list">
                                                <li class="param">
                                                        <code class="param-name optional">[current]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>current time</p>
                    
                                                    </div>
                    
                                                </li>
                                                <li class="param">
                                                        <code class="param-name optional">[total]</code>
                                                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                                                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    
                                                    <div class="param-description">
                                                        <p>total time</p>
                    
                                                    </div>
                    
                                                </li>
                                            </ul>
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
                    <div id="event_PLAYER_VOLUMEUPDATE" class="events item inherited">
                        <h3 class="name"><code>PLAYER_VOLUMEUPDATE</code></h3>
                        <span class="type"></span>
                    
                    
                    
                    
                    
                        <div class="meta">
                                    <p>Inherited from
                                    <a href="../classes/Events.html#event_PLAYER_VOLUMEUPDATE">Events</a>:
                            <a href="../files/src_base_events.js.html#l275"><code>src&#x2F;base&#x2F;events.js:275</code></a>
                            </p>
                    
                    
                        </div>
                    
                        <div class="description">
                            <p>Fired when player updates its volume</p>
                    
                        </div>
                    
                            <div class="params">
                                <h4>Event Payload:</h4>
                    
                                <ul class="params-list">
                                    <li class="param">
                                            <code class="param-name">volume</code>
                                            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
                    
                    
                                        <div class="param-description">
                                            <p>the current volume</p>
                    
                                        </div>
                    
                                    </li>
                                </ul>
                            </div>
                    
                    
                    </div>
            </div>
    </div>
</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>