works fine for me as stated in the documentation:
<div id="container"></div> jwplayer("container").setup({ file: "http://content.bitsontherun.com/videos/nPripu9l-60830.mp4", flashplayer: "http://player.longtailvideo.com/player.swf", image: "http://content.bitsontherun.com/thumbs/nPripu9l-480.jpg", height: 270, width: 480 }); var state = jwplayer("container").getState(); var elapsed = jwplayer("container").getPosition();
source share