Loads a new playlist into the player.
| Attribute | Description | Type | Required |
|---|---|---|---|
| playlist | The playlist to load into the player. | Array | String | Yes |
Types of Playlists
| Description | Type |
|---|---|
| An array of playlist item objects. See above for correct syntax | Array |
| A URL referencing the location of an RSS/XML/JSON file | String |
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");
