Contents

TVPlayer

A customizable native media player used to control playback from the JavaScript player used in an Apple TV client-server app.

Declaration

class TVPlayer

Overview

You create a new TVPlayer object using your custom AVPlayer object. You can then play media items that are associated with the JavaScript media player using the new player. For example, you can add gestures, overlays, and other custom features to your TV player.

Topics

Setting Up the Player

Controlling Playback

Inspecting Media Items

Instance Methods

See Also

Custom Player