An array of media items to be played in an Apple TV client-server app.
SDK
- tvOS 9.0+
Framework
- TVMLKit JS
An array of media items to be played in an Apple TV client-server app.
SDK
Framework
item
Returns the media item located in the indicated array index.
length
The number of items in the playlist.
Playlist
Creates a new playlist object.
pop
Removes a media item from the end of a playlist.
push
Adds a media item to the end of a playlist.
splice
Deletes the indicated array elements and replaces them with the specified elements.
Play media items in a client-server app using the built-in media player for TVMLKit JS.
Player
A media player that displays the UI for playing video and audio in an Apple TV client-server app.
Media Item
A single audio or video item.
Slideshow
An object used to display images on Apple TV in a slideshow format.
Browser
An object used to configure and present a browsable full screen view.