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

need to play then pause after page load and continue playing on "play"

I have a page that when loaded, grabs a video from the archive or stream and it should pause to show at least the first frame. Then when the "play" button is clicked, it should continue playing. I found the following snippet on a jwplayer forum. It does the pause after start part, but when "play" is clicked, it pauses again. This is placed directly after the jwplayer().setup script in the functions.js for the site.


I have tried different ways to execute the above code one time only, but it appears to be executing each time the "play" button is clicked.

I'm sure I'm missing something quite simple... any ideas?


1 Community Answers


JW Player Support Agent  
0 rated :

Hi Tom,

Could you send me the test page that is having the issue? You seem to be using JW6 syntax. I would enable autostart and use the onFirstFrame() callback to do jwplayer().pause() and then everything should work ok.

This question has received the maximum number of answers.