
jwplayer("container").getPosition(); Returning Undefined
The following code is returning undefined how do I get the following code to work on my page?
var x = jwplayer("container").getPosition();
document.write(x);
My ultimate goal was to get the following to work
if (jwplayer("container").getPosition(); > 60) {
document.getElementById('delay').style.display = 'block';
}
But this is not working. I want the div to display after the video hits a certain time.