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

Playlist switching causes flicker


Hello!

I'm facing a problem with multiple playlists.
The second video of every playlist is the first video of the next playlist.
To achieve this, I'm loading the new playlist using jwplayer().on('playlistItem', loadNewPlaylist);

The issue is that upon completion of the first video(p1v1), the second starts(p1v2) and keeps playing for a second and then the next playlist is loaded, which stops the video and (p2v1) starts playing.
This causes a flicker while switching of playlists. Any workaround for this?

(p - playlist; v - video)

5 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

I would like to look into this issue for you. Can you potentially provide me a sample of your page via a link with no external elements or CSS so I can review this? This provides me a clearer idea of what could be causing the issue from a JW Player embed perspective. I’ve also included a link on how to submit a reproduction page to our support team that may be useful as well: https://support.jwplayer.com/customer/en/portal/articles/2186238-troubleshooting-%E2%80%94-creating-a-reproduction-page

Randy

Vaibhav Jain

User  
0 rated :

Hi Randy,

Please check this url for the sample.
http://codepen.io/anon/pen/YGOLaj

Randy

JW Player Support Agent  
0 rated :

Hello Vaibhav,

Looking into your code it seems you are loading the playlistTemp item several times in the player embed and potentially overriding the variable. I am not sure this is intentional but if you create a basic playlist embed with no other code does the sequence work as expected? There could be a problem with the custom code here and how it interacts with the streams.

Kindly,

Randy

Vaibhav Jain

User  
0 rated :

Yes, it works fine when there is only one playlist.
I want the playlist to display the recommended videos based on the current video being played. So whenever a video changes, a new playlist is also loaded.
For every playlist, a new playlist will be loaded when the second video of that particular playlist starts. And this new playlist starts playing interrupting that second video.
Please suggest an approach.
I hope I'm clear.

Randy

JW Player Support Agent  
0 rated :

Hello Vaibhav,

This will probably require some internal code development on your end. You could however potentially receive a similar result by using our Recommended Videos feature which could automatically populate this information for you using intelligent algorithms from our servers.

Randy

This question has received the maximum number of answers.