有没有办法在带有 XHTML Mobile Profile 的 HTML 页面中使用视频标签显示视频?

发布于 2024-09-26 11:05:57 字数 278 浏览 0 评论 0原文

我有一个带有以下 DTD 声明的 html。

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
I want to use video inside this page. Is there any workaround? I cannot change DOCTYPE.

I have an html with following DTD declaration.

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

I want to use video inside this page. Is there any workaround? I cannot change DOCTYPE.

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

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

发布评论

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

评论(1

我是有多爱你 2024-10-03 11:05:57

那么,该 DTD 肯定包含嵌入式对象模块,因此您应该能够包含 标记。我不能向您保证它会在您的环境中工作(特别是考虑到移动设备的有限处理环境),但类似以下内容

<object data="video.avi" type="video/avi" /> 

在该 DTD 下肯定有效。

Well, that DTD definitely includes the Embedded Object Module so you should be able to include an <object> tag. I can't promise you that it will work in your environment (especially given the limited processing environment of a mobile device) but something like:

<object data="video.avi" type="video/avi" /> 

is certainly valid under that DTD.

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