Skip to content Skip to sidebar Skip to footer

Jwplayer Javascript Interaction Not Working

this problem is going to make me bald. Save my hair plz. i have been trying every possible way to stop and pause and play the JWplayer latest version using its JavaScript API and n

Solution 1:

Your code works for me (after I adjusted the "file" to something I had locally). Some possibilities:

  1. Are you loading this with a "file://" URL, or are you loading it from an actual web server? (If from a file:// URL, there might be Flash security restrictions.)

  2. Do you intend to have a height of 8px as you've currently specified? I don't know what your custom skin looks like. In order to see things using default skin I had to specify a larger height.

  3. I'm not very familiar with JWPlayer, but is it possible the file parameter needs to be URL encoded? (If not sure, maybe trying removing the space from the file name and renaming it on the server as well.)

In any case, your code works for me using default skin and different media file. I can play and then click your "stop" link to stop playback. If ideas above don't help, then you'll need to specify exactly what is not working for you.

Post a Comment for "Jwplayer Javascript Interaction Not Working"