Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Is a single "file" considered to be a playlist of length 1?


I was experimenting with playlists in my player and I noticed that even if I specify a "file" in my setup() call, it triggers the .on("playlist") event, and I can call getPlaylist() on the player and I get back an array with that file.

Can I safely assume that even if I specify a single "file" for my player that it will always respond to playlist-specific commands as if it is a playlist?

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

Yes, you are correct. Our player treats a single video loaded in the setup() call to be a playlist of one video.

This question has received the maximum number of answers.