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

Video Load Error - Playlist


In switching to v7 of JWPlayer, the playlist is now on the control bar. The problem I'm running into is that if there is a video load error, the control bar is now locked out and you cannot get to the playlist to view another video.

This was not an issue with the v6 listbar. How can I get around this with v7?

Thanks!

6 Community Answers

greg

User  
0 rated :

Sorry for the multiple posts, it kept saying "Invalid Request" when submitted...

Alex

JW Player Support Agent  
0 rated :

Hi, Greg.

Can you please give me a link to a page where you have the affected player installed?

Thank you.

greg

User  
0 rated :

Alex,

Sure: http://uvissrvwstest.rvusa.com/RV/InventoryVideo.aspx?id=2802

Thanks

Alex

JW Player Support Agent  
0 rated :

Hi, Greg.

You are correct – when the player has an error, the control bar is hidden from view. I think the best solution would be to find out why you’re receiving a 404 Not Found error for that first playlist item. However, alternatively, you could possibly do one of the following to get around this:

Add this JavaScript below your jwplayer().setup() embed code:)

jwplayer().on("error", function() {
  var nextPlaylistItem = jwplayer().getPlaylistIndex() + 1;
  jwplayer().playlistItem(nextPlaylistItem);
});

If you don’t want to do the above, you should also be able to add this to your CSS to override the default control bar behavior on errors:

body .jw-error .jw-controlbar,
.jwplayer.jw-state-error .jw-controlbar {
  display: table !important;
}

Please let me know if you need any more help or have any other questions.

Thank you!

greg Petry

User  
0 rated :

Alex - Thank you - that workaround seems to do the job for now!

Alex

JW Player Support Agent  
0 rated :

Not a problem, Greg. Good to know it works for you!

This question has received the maximum number of answers.