Player HTML5 APIs (Player V2 Deprecated)

Player/Player UI HTML5 APIs can be used to handle aspects of the player.

Player Functions

Important: Ooyala Player V2 is deprecated and is scheduled to be disabled on 2018-01-31. After that date, Player V2 will no longer play your video or audio content. Customers still using Player V2 need to migrate to Player V4 (see Player V4.

The following table describes all the HTML5 methods that are associated with a player. For an example using all of these HTML5 APIs, see the topic Query String and Pass-Through Parameter Examples.

Function Description

Set the embedCode for the current player.

Type: String


<input type=button value="Change Embed Code" onclick="setEmbedCode()"/>

Set the playhead to a new location in seconds with millisecond accuracy.

Type: Number


   function setPlayheadTime() {

Related Information

The following list provides links to Backlot documentation that provides some general information about players.