Player HTML5 APIs (Player V2 Deprecated)

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

Player Functions

Note: This software is deprecated. Use the latest version.

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
setEmbedCode

Set the embedCode for the current player.

Type: String

Example:

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

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

Type: Number

Example:

   }
   function setPlayheadTime() {
     get_player().setPlayheadTime($('#playhead_time').val());
   }

Related Information

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

Was this article helpful?