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

Playlist: Next video not automatically played after loading new playlist


Hi,

I have a page where you can dynamically load new playlists.
I noticed that for the initial playlist, when I click on "Play", all the playlist videos will be played.

Then, when I load a new playlist, and play again, only the first video will be played.
I have to click on the "next" button so that JW Player plays all the playlist again.

I had this issue with JW6, and same occurs with JW7.

Thanks.

Martin

5 Community Answers

Alex

JW Player Support Agent  
-1 rated :

Hi, Martin!

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

videosmc

User  
-1 rated :

Hi Alex,

You can see an example here :

http://videosmc.raidghost.com/index.php?plid=8

At the bottom of the page, click on the button "Visionner 50 buts au hasard" to load a new playlist.

The player will then stop after the first video.

Martin

George

JW Player Support Agent  
0 rated :

Hello Martin,

Alex was out sick so I’ll be taking over this issue for you. I’ve built a test page for you using rss playlists. They’re the easiest to load and they don’t present the problems you are having with your current setup.

Have a look here:
http://qa.jwplayer.com/~george/rss_playlist.html

Enjoy!

videosmc

User  
0 rated :

Hi George,

Thanks for your help.

I tried RSS playlists but the problem was the same.
However, I found out the cause.

It is because before loading a new playlist, the method jwplayer.stop() is called.
Indeed, I have a scenario where the user can perform a search in video lists that will finally end with a new playlist.
During that time, I don't want the player to keep playing.
That's why I call the stop method. Seems that calling that method not only stops the player, but prevents automatic playing of next item in a playlist, until the user clicks on "next" again.

In my case, I'll replace the stop method call with a load of a dummy playlist, that will have the same effect (stopping the play) without affecting next item play.

Regards,

Martin



George

JW Player Support Agent  
0 rated :

Awesome Martin,

Glad you found a workaround for this.

This question has received the maximum number of answers.