JavaScript API

Articles Questions
  •   player background black 1 answers posted Sep 23, 2014 05:18AM EDT

    Hey there! I have a couple of mp4s as background videos in a loop sequence. Inbetween these videos there is always a black transition (when the new video loads/appears). Is there a way to either: A.) ta...

  •   JW Player mouse click position 0 answers posted Sep 23, 2014 02:43AM EDT

    I can't get mouse click position from event data jwplayer().onDisplayClick(function(event) { alert(event.pageX+" "+event.offsetX+" "+event.clientX); All 3 values displayed as undefined. Do you know h...

  •   Not able to get offset value in onseek event. 2 answers posted Sep 22, 2014 07:16AM EDT

    Hello Team, I have upgraded to latest version of jwplayer 6.10. and when am tried to use the offset value it returned me undefined error which caused many issues on seeking functionality. Some where in you...

  •   what does this part do in the function 1 answers posted Sep 22, 2014 12:08AM EDT

    jwplayer().addButton( "url to button", "title", function() { my function; }, "What does this text here do?" ); If I remove the "What does this text here do?", then the button does not appear. Tho...

  •   Errors trying to swap playlists using load() 2 answers posted Sep 18, 2014 01:04PM EDT

    I have three playlists with multiple items & multiple sources. I can successfully load & play any of them on setup, so I assume they're okay. What I'd like to do is swap a new playlist into the same player...

  •   Global callbacks 2 answers posted Sep 18, 2014 11:31AM EDT

    I am using a 3rd party plugin that uses the JWPlayer API to generate a new player in a modal when a user clicks on a button. I have no ability to modify the content of that plugin. I need to add very simple ...

  •   jwplayer.setup() is causing LOG: No suitable players found and fallbac... 2 answers posted Sep 18, 2014 10:45AM EDT

    Hello everyone, I am using jwplayer 6.10. I am having some issues on IE 9. I am not getting any javascript error, but I am unable to play video in popup window. This is the output of my IE 9 console. LOG:...

  •   Remove handlers for controls and attach my own events 0 answers posted Sep 17, 2014 06:20PM EDT

    Hello, I want the following behaviour : When I click in the UI, for exemple the "Pause" button, I want the player to do nothing (not triggering the pause and not triggering the pause event). I want to attac...

  •   Metadata 1 answers posted Sep 17, 2014 05:30PM EDT

    Hi I would like to know if there is a way to receive the metadata faster. Because we recently noticed that it is getting delayed. Maybe one change in the last version made ​​it happen. Thanks in advance. ...

  •   onSeek event not firing with YouTube videos in greater than 6.0 2 answers posted Sep 17, 2014 06:33AM EDT

    Hi, The onSeek event does not seem to fire in jwPlayer greater than 6.0 for YouTube videos - I have seen the behaviour in 6.7 (in jsBin testcase below) and 6.9 (locally). The onSeek event fires fine if the v...



Can't find what you're looking for? Log In here to ask a question.

Still don't have JW Player? Get It Here