在 IWebBrowser2 控件中启用本地 Flash
我正在尝试使用 IWebBrowser2 控件加载包含本地 Flash 组件的本地 html 页面。
我已将 .cfg
文件放入 C:\WINDOWS\system32\Macromed\Flash\FlashPlayerTrust
中,其中包含相关目录的路径。
这些页面在 IE 中运行良好(单击“允许阻止的内容”栏后)。但我无法在 IWebBrowser2 控件中工作。
Web 标记 不起作用,也不起作用通过实施IInternetSecurityManager。
我还尝试过 CoInternetSetFeatureEnabled,但运气不佳并设置:Internet 设置 - >高级 - >安全 - >允许活动内容在我的电脑上的文件中运行。
我能想到的唯一解决方案是使用本地服务器作为解决方法,但这实际上只是最后的手段。
有人设法让它发挥作用吗?我错过了什么吗?
谢谢!
I'm trying to load local html pages that contain local flash components using IWebBrowser2 control.
I've put a .cfg
file in C:\WINDOWS\system32\Macromed\Flash\FlashPlayerTrust
with a path to the relevant directory.
These pages run just fine in IE (after clicking the Allow Blocked Content bar). But I couldn't make then to work in IWebBrowser2 control.
Mark of the Web did not work, nor enabling ActiveX controls by implementing IInternetSecurityManager.
I've also tried CoInternetSetFeatureEnabled
with not luck and to set: Internet Settings->Advanced->Security->Allow active content to run in the files on MyComputer.
The only solution I can think of is to use a local server as a work around, but this is realy just as a last resort.
Did someone manage to make it work? Am I missing something?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论