Vlc Activex onclick event

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Jeremiah
Blank Cone
Blank Cone
Posts: 53
Joined: 16 Oct 2008 09:31

Vlc Activex onclick event

Postby Jeremiah » 08 Jan 2009 07:17

hi, all.

i want catch the event of onclick of the vlc activex in web.
the codes are as following:

Code: Select all

<html> <head> <title>测试</title> <script type="text/javascript" language="javascript"> function a() { alert(1) } </script> </head> <body style="height: 100%" > <object classid="clsid:9be31822-fdad-461b-ad51-be1d1c159921" width="640" height="480" id="vlc" events="true" onclick="a()" > <param name="mrl" value="" /> <param name="showdisplay" value="true" /> <param name="autoloop" value="false" /> <param name="autoplay" value="false" /> <param name="volume" value="50" /> <param name="starttime" value="0" /> <embed pluginspage="http://www.videolan.org" type="application/x-vlc-plugin" version="videolan.vlcplugin.2" width="640" height="480" name="vlc"> </embed> </object> </body> </html>
when i use firefox, it works. but when i use ie7, it can't catch the event.
what should i change the code?
thanks.

Jeremiah
Blank Cone
Blank Cone
Posts: 53
Joined: 16 Oct 2008 09:31

Re: Vlc Activex onclick event

Postby Jeremiah » 09 Jan 2009 04:05

nobody help me ?

Jeremiah
Blank Cone
Blank Cone
Posts: 53
Joined: 16 Oct 2008 09:31

Re: Vlc Activex onclick event

Postby Jeremiah » 10 Jan 2009 06:55

up,up,up!

vice
Blank Cone
Blank Cone
Posts: 61
Joined: 18 Oct 2007 13:43

Re: Vlc Activex onclick event

Postby vice » 16 Apr 2009 17:42

Did you meant that the code that you've posted works on Mozilla Firefox for catching the click event?

vice
Blank Cone
Blank Cone
Posts: 61
Joined: 18 Oct 2007 13:43

Re: Vlc Activex onclick event

Postby vice » 16 Apr 2009 17:56

I'm asking because I couldn't figure a way to catch onclick event inside the VLC plugin either in IE or Firefox. For what matter no event inside the plugin is catched. This is my experience with.
For example, for QuickTime there's an onclick parameter where you put the desired URL and hence you can put a javascript: type URL and execute some javascript code.

I hope this could helps in some way:
YOU getting more information,
ME discovering if catching onclick event from the plugin in Firefox is posible,
OR the VLC Team for putting new features.

Cheers :)


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 4 guests