Class: empPlayer

empPlayer

EMPPlayer


new empPlayer(id [, options] [, ready])

Main function to intialize the player

the EMPPlayer can be used to initialize or retrieve a player

Parameters:
Name Type Argument Description
id String | Element

Video element or video element ID

options Object <optional>

Optional options object for configuration / settings

ready function <optional>

Optional ready callback

Returns:

VideoJS Player instance

Type
Player
Example
var player = new empPlayer('empplayer');

Members


<static> extend

Extend function for non ES6 classes - Wrapper around videojs extend method


<static> getEntitlementEngine

Get an entitlement engine by name


<static> log

Log debug messages