JavaScript API

Articles Questions
  •   Multiple Playlists and Players 2 answers posted Jan 30, 2015 02:47AM EST

    Hi, I am embedding 3 players and 3 playlists on one page. The problem is that the second player is loading the 1st playlist. I have changed the id but still no luck with it.

  •   Download button with direct download. 2 answers posted Jan 26, 2015 09:24PM EST

    I am trying to figure out if I can set up the player to directly download. So that when the Download button is pressed it will start an automatic download, rather than divert you to another page, where you then...

  •   Flash fallback 0 answers posted Jan 26, 2015 02:02PM EST

    Hi, can you explain me how the fallback works? How the player tests if browser can play a video?

  •   Video Scaling and Anti Aliasing 0 answers posted Jan 22, 2015 08:33PM EST

    When a user is playing back a high resolution rendition of a video (HTML5) in a small player embedded on a webpage (not fullscreen), the video looks aliased or has "jaggies". It looks like this is due to the pl...

  •   Setup source code 0 answers posted Jan 22, 2015 04:44PM EST

    Hello, I would like to understand a bit how the player works. I walk through the codes on Github. I can not figure out which of the files is used when I do: jwplayer('myVideoId').setup({ file: '/up...

  •   Bug with getState() while an Ad is running 0 answers posted Jan 22, 2015 06:22AM EST

    When an Advert is running in HTML5 mode, jwplayer().getState() will report "PLAYING", whilst in Flash mode getState() will report the current state of the main video - initally "IDLE" for a preroll Ad and then ...

  •   add download button 2 answers posted Jan 21, 2015 04:00PM EST

    Hi, Is it posible jwplayer().addButton( //This portion is what designates the graphic used for the button "/uploads/myButton.png", //This portion determines the text that appears as a tool...

  •   play() call not being run in jwplayer().onLoad() 0 answers posted Jan 16, 2015 05:28PM EST

    On my page my video is being loaded correctly, and the script below is being run, but the video does not start playing. Any obvious reason why not? if (1) jwplayer().onReady(function() {jwplayer().play();}...

  •   play() call not being run in jwplayer().onLoad() 1 answers posted Jan 16, 2015 05:24PM EST

    On my page my video is being loaded correctly, and the script below is being run, but the video does not start playing. Any obvious reason why not? if (1) jwplayer().onReady(function() {jwplayer().play();}...

  •   Help to add multiple sources trought api 1 answers posted Jan 15, 2015 06:56AM EST

    Hi there, I have this code: jwplayer('video').setup({ 'primary': 'flash', sources: [ { file: "....AYT1-XDVBRYZHZDM3.mp4", label: "360p" ...



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

Still don't have JW Player? Get It Here