About the MediaPlayerItem class

After a MediaResource is successfully loaded, Browser TVSDK creates an instance of the MediaPlayerItem class to provide access to that resource.

The MediaResource represents a request that is issued by the application layer to the MediaPlayer instance to load content.

The MediaPlayer resolves the media resource, loads the associated manifest file, and parses the manifest. This is the asynchronous part of the resource loading process. The MediaPlayerItem instance is produced after the resource has been resolved, and this instance is a resolved version of a MediaResource. Browser TVSDK provides access to the newly created MediaPlayerItem instance through MediaPlayer.CurrentItem.

TIP

You must wait for the resource to be successfully loaded before accessing the media player item.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now