Plugin support for DOM event listeners
Posted: 10 Jun 2009 17:22
Hi All,
Does the VLC plugin support DOM event listeners?
I'd like to monitor changes in input state. Currently i setup a javascript timer to pool player.input.state every 800ms and use it to update the state of my control buttons. But i'd like to do something like :
player.addEventListener('vlc_state', myJSFunction);
Is this possible or is their another way? i've been googling for hours with no success!! Any idea will be appreciated.
Cheers.
Does the VLC plugin support DOM event listeners?
I'd like to monitor changes in input state. Currently i setup a javascript timer to pool player.input.state every 800ms and use it to update the state of my control buttons. But i'd like to do something like :
player.addEventListener('vlc_state', myJSFunction);
Is this possible or is their another way? i've been googling for hours with no success!! Any idea will be appreciated.
Cheers.