pyqt webkit + divx 网络播放器

发布于 2024-12-21 11:00:14 字数 195 浏览 3 评论 0原文

我知道这可能是不可能的,但无论如何让我们尝试问一下:我想做的是在 pythoh qt4 webkit 小部件渲染的页面中使用 divx web 播放器插件。我的意思是:在 page.html 中,我放置了标准 divx Web 播放器嵌入代码,然后我使用 webkit pyqt 加载它,并且(神奇)它可以工作并播放我的视频。你认为这可能吗?

感谢大家! 马可

I know this is probably impossible, but let's try asking anyway: what I would like to do is using the divx web player plugin within a page rendered by pythoh qt4 webkit widget. I mean: in page.html I put the standard divx web player embed code, then I load it with webkit pyqt and (magic) it works and plays my video. Do you think this is possible?

Thanks to all!
Marco

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

叫嚣ゝ 2024-12-28 11:00:14

您可能需要根据 文档

我会尝试类似的方法

QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled, True)

,看看它是否启用插件。

You'll probably need to set it to enabled using the QWebSettings, according to the documentation.

I'd try something like

QWebSettings.globalSettings().setAttribute(QWebSettings.PluginsEnabled, True)

and see if it enables the plugins.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文