8 May 2009
Controlling JW Player from JS – a bug
I found an issue when trying to tell an instance of JW Player what to do from jQuery. Here’s my code:
$('#broadcast_player').get(0).sendEvent('PLAY', false);
This video wasn’t stopping like it should. I found a thread with the answer:
For Linux, add the flashvar id=player1 to match the name and id in your object code. Jeroen added the idflashvar specifically for Linux.
I did that and it worked.