Capture MediaPlayerPlaying event of VLC Webplugin
I'm using VLC Webplugin on Chrome

    <div id="div-vlc" style="display: none;">
        <embed id="vlc" name="vlc" width="640" height="480" pluginspage="http://www.videolan.org" type="application/x-vlc-plugin" />
        <object style="width:0px;height:0px;" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab">    </object>
    </div>

And try to catch events to control the play with that:

    document.vlc.addEventListener('MediaPlayerPlaying', function() {alert();} )

or

    document.vlc.attachEvent('MediaPlayerPlaying', function() {alert();} ) //crash

Like this documentation say: http://wiki.videolan.org/Documentation:WebPlugin

But the event is never fired.

What is wrong?
Capture MediaPlayerPlaying event of VLC Webplugin
===

I'm using VLC Webplugin on Chrome

    <div id="div-vlc" style="display: none;">
        <embed id="vlc" name="vlc" width="640" height="480" pluginspage="http://www.videolan.org" type="application/x-vlc-plugin" />
        <object style="width:0px;height:0px;" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab">    </object>
    </div>

And try to catch events to control the play with that:

    document.vlc.addEventListener('MediaPlayerPlaying', function() {alert();} )

or

    document.vlc.attachEvent('MediaPlayerPlaying', function() {alert();} ) //crash

Like this documentation say: http://wiki.videolan.org/Documentation:WebPlugin

But the event is never fired.

What is wrong?