如何将我自己的插件添加到IE,这样如果我访问该网页,IE应该要求安装该插件

时间:2013-01-29 07:03:52

标签: html internet-explorer plugins activex

当我走这条路时,我会安装一个插件。

http://www.axis.com/files/developer/camera/AXISMediaControlSDK_6_06.zip

但是使用它,我必须在使用此控件的每台计算机上安装插件。 但我希望使用我的网页的人在访问网页时自动安装IE浏览器。 我使用了以下代码

<object id="Player" width="250" border="1" style="margin-top:10px"
        classid="CLSID:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B">
<param name="pluginspage" value="http://www.axis.com/files/developer/camera/AXISMediaControlSDK_6_06.zip" />
</object>

但是使用上面的代码,它不会要求安装软件。任何人都可以帮我用html或java脚本或php解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

您是否尝试过对象元素的codebase属性? e.g。

<object id="Player" width="250" border="1" style="margin-top:10px"
classid="CLSID:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
codebase="http://www.axis.com/files/developer/camera/AXISMediaControlSDK_6_06.zip">...</object>

有些Edimax IP摄像机正在其网络界面中使用它,它正在运行。

相关问题