How Player V3 Works (Deprecated)

Player V3 provides a simple way to embed video in web pages.

Important: Ooyala Player V3 is deprecated and is scheduled to be disabled on 2018-01-31. After that date, Player V3 will no longer play your video or audio content. Customers still using Player V3 need to migrate to Player V4 (see Migrating from Player V3 and Player Migration FAQ).
Player V3 uses an object-based embed style that works in a similar way as other object-oriented frameworks (like jQuery). It differs from how you embed video in web pages using earlier versions of our player (see Comparing Embed Code Styles in Player V3 and Player V2 (Deprecated)). This embed style affects all JavaScript embeds (regardless of whether you use the HTML5 Player or the Flash player).

The latest embed style enables you to enclose your player in a type of container using <div> tags. This gives you more control over the placement of your videos on a web page. You can build a page with player “building blocks” that results in a more responsive-to-change design. For example, if the browser is resized, the player can readily flow on the page to adapt to the resizing. The player also separates the loading of the player from the creation of the player. You can load once and create multiple players based on the original player instance that was loaded.

Player loading and creation process works as follows:

  1. You specify a player branding id that identifies a particular player to load.
  2. The player code is loaded.
  3. Any custom modules are loaded.
  4. <div> tags are used to create a container for the player and a <div> id is specified.
  5. The player is created and initialized with the JavaScript call: OO.Player.create. This call creates a player instance within the <div>.

Was this article helpful?