I am looking for some help on how to register the appropriate event handlers and listeners to work with the VLC media player inside of a webpage using the Mozilla Firefox 5.0 browser. I have embedded the player using the following code and I have spent hours on this forum looking for the answer.
<embed type="application/x-vlc-plugin"
name="vlc" pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2"
width="100%" height="500"
id="vlc">
</embed>
I want the page to be able to “listen” for the 'MediaPlayerEndReached' event and then fire a javascript function that I have working correctly to play the next item in the playlist and loop that playlist when it ends. I am having trouble finding any good documentation on how to do this within javascript.
Any help would be appreciated. Thanks.