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

live streaming not playing

JWPlayer not playing as single Playlist item, it give an the following exception:
IndexOutOfBoundsException: Invalid index 0, size is 0.

I started the player with this statement:
mPlayerView.load(new PlaylistItem(url));

but if I hard-code the PlaylistItem parameter then it plays the stream but if it's dynamic, it gives the above mentioned exception.
Urgent help required!

1 Community Answers


JW Player Support Agent  
0 rated :


You mentioned if you hard code the url it works but when you load it dynamically it throws an exception. How are you loading it dynamically?

Please send over any relevant video urls to inspect the stream.

This question has received the maximum number of answers.