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>
what should i change the code?
thanks.