Skip to main content
Using the Player API
Updated over a year ago

Before using the AnyClip Player APIs, here is some important information you'll want to have before getting started.

Players are essentially widgets that are incorporated into your website, enabling you to play video.

Using single and multiple players

Since the Player APIs support using both a single (standard use) player and multiple players on a single page, the flows detailed in this documentation provide information on both options, which differ slightly.

To differentiate between players, you can use one of the following options:

  • Calling the unique widgetID

  • Using a sessionID: The sessionID is unique to a session instance, so that once the session has ended, the ID is no longer relevant

See Single/Multiple Players Reference for more details

Important

Using the ID player for multiple players enables you to send the playlist to the correct player.

Initializing the APIs

The player APIs can be used only after initialization, after the command playerready has been applied. See Player Initialization for more details

Did this answer your question?