[vlc] Re: mozilla/firefox plugin javascript events?

Michael Dale dale at ucsc.edu
Wed Sep 27 20:09:23 CEST 2006


you can do that with a constantly running function 
setTimeout('function_name') that queries whether
document.video1.isplaying() == true ... when it becomes false then you
can trigger an event for the next item in the virtual playlist.

--michael

Tavin Cole wrote:
> hi all,
>
> i've been unable to locate documentation about javascript events fired
> by the browser plugin.  i presume this means there aren't any.  please
> correct me if i'm wrong, but otherwise, is there any community
> interest in adding this functionality?
>
> basically, i need a javascript function to be called when the current
> track finishes playing.  this is for a XUL media-playing application
> in which the playlist never ends but cannot be determined in advance..
>
> for now i'm going to resort to a polling technique.  vlc plugin still
> seems like the best (if not the only) free and cross-platform way to
> do it.
>
> thanks!
>
> -tavin
>

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list