Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net WPF WebBrowser是否支持VLC ActiveX?_.net_Wpf_Browser_Activex_Vlc - Fatal编程技术网

.net WPF WebBrowser是否支持VLC ActiveX?

.net WPF WebBrowser是否支持VLC ActiveX?,.net,wpf,browser,activex,vlc,.net,Wpf,Browser,Activex,Vlc,我需要的是打开任何在WPF WebBrowser下实现了VLC ActiveX的网页。 我刚刚做了一个非常简单的页面,它在IE9/10下工作得非常完美 但当我打开它时,没有任何VLC:( 像测试的替代方法一样,尝试在WPF WebBrowser下打开页面,但什么也没有发生 兄弟姐妹们有什么线索吗 附言无助于 另外,我刚刚测试了页面,也测试了带有WinForms WebBrowser控件的页面,但它不工作:(这是否意味着MS webBrowser控件根本不支持ActiveX,或者VLC Act

我需要的是打开任何在WPF WebBrowser下实现了VLC ActiveX的网页。

我刚刚做了一个非常简单的页面,它在IE9/10下工作得非常完美

但当我打开它时,没有任何VLC:(


像测试的替代方法一样,尝试在
WPF WebBrowser
下打开页面,但什么也没有发生

兄弟姐妹们有什么线索吗

附言无助于


另外,我刚刚测试了页面,也测试了带有WinForms WebBrowser控件的页面,但它不工作:(这是否意味着MS webBrowser控件根本不支持ActiveX,或者VLC ActiveX控件受到某种限制?

我不确定,但我相信
webBrowser
只是当前安装的Internet Explorer版本的包装。因此,您的回答是“视情况而定”,但您无法保证ActiveX控件在已部署的系统上工作。我同意@CodingGorilla。您是否使用IE(在IE 7呈现模式下)进行过测试在同一台计算机上运行,以确保这不是安全或配置问题?@DocMax是的。是的。我这样做了。你可以看到我要测试的页面的源代码。我是在同一台计算机上做的。
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <meta http-equiv="cache-control" content="max-age=0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
    <meta http-equiv="pragma" content="no-cache" />
    <title></title>

 </head>
<body>
    <object width="720" height="408" id='vlc2' events="True" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab"
        classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921">
        <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
            width="720" height="408" id="vlc1" />
        <param name="src" value="http://content.bitsontherun.com/videos/bkaovAYt-52qL9xLP.mp4" />
        <param name="ShowDisplay" value="True" />
        <param name="AutoPlay" value="False" />
    </object>
</body>
</html>