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

JW Player stopped after playing 4/5 seconds


Hi,

I am using JW Player audio. There are few buttons assume Button 01, Button 02, Button 03, Button 04, etc... On page load I am trigger on click to the first button and that is working fine.

After "onclick" on button items I am calling a function and doing all the setup and starting the play inside that function. As well I am checking the current player status and doing the needful.

But if I click through the buttons suddenly it is coming till last click and player getting start, but after 4/5 seconds player getting paused automatically. How to overcome this please ?

Thanks

3 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

We don’t provide custom code solutions, but I’d be happy to look at your code. Do you have a test page? Also, I’m a bit confused what your expected behavior is.

Could you describe what you’re trying to do from a user’s perspective?

atapattu71 N/A

User  
0 rated :

Hi,

I do not have a test page to show you as I developed this in local. Assume there are 5 songs and each song have assigned to a button mentioned above respectively. On page load I am triggering the first Button and it should play the first Song and it is working really fine. When I clicked on Button number 03, current playing song should stop and it should starts with recently selected song (here it is Song number 03). I am doing this through a function. In detail I am calling a function on Button click and through that function I am initializing the player.

My problem is when I going through Buttons suddenly, player starts with last selected and starts playing. But player getting "paused" automatically after four,five minutes play.

George

JW Player Support Agent  
0 rated :

I’d have to see a live example to see what’s going on. It sounds like something in the stream, maybe the audio encoding?

You could use codepen.io to share a live page.

This question has received the maximum number of answers.