MediaPlayer and MediaResource classes

A MediaResource represents the content that is about to be loaded by the MediaPlayer instance.

TVSDK provides the means to load and prepare content for playback by using the replaceCurrentResource method in MediaPlayer. This method takes two arguments, an instance of MediaPlayerResource and, optionally, an instance of MediaPlayerItemConfig, which you can use to pass application-defined custom parameters.

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