load(playlist)

Loads a new playlist into the player.

AttributeDescriptionTypeRequired
playlistThe playlist to load into the player.Array | StringYes

Types of Playlists

DescriptionType
An array of playlist item objects. See above for correct syntaxArray
A URL referencing the location of an RSS/XML/JSON fileString

JSON Playlist Example

jwplayer('myElement').load([{
  file: "/videos/myVideo.mp4",
  image: "/images/myImage.png",
  title: "My Favorite Video!",
  description: "This has lots of kittens in it!"
}]);
jwplayer().load("https://mywebsite.com/myplaylist.json");