Creating a Playlist

A playlist consists of a list of movies. Playlists can be asset-based or label-based.

  • The maximum number of videos you can add to a playlist is 64.
  • The maximum number of labels you can associate with a playlist is 16.
  • Allow some time for the playlist you create to be propagated through the Ooyala systems. If you are doing a demonstration, it is best to use playlists you have created previously.

To create a playlist:

Use the playlists route. The following example creates a playlist with movies.

   "name": "Test Movie Playlist",
   "type": "movie"

Backlot returns a response similar to the following:

   "name":"Test Movie Playlist",
   "limit":null   ", 

Note: Try out the code samples using your account credentials in the Ooyala Scratchpad. To launch the Scratchpad, go to Ooyala API Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad.

The playlist is successfully added.

Note: Playlists are not visible by default. If you do not enable pods for your player, playlists are not visible to users. To make playlists visible to users, enable pods by associating the playlist and pod with a player.

Was this article helpful?