Opera Mini 的 HTML5 视频标签
关于视频标签的问题,以下代码适用于 Opera Mini 以外的所有浏览器,有什么想法吗?当我使用 Opera Mini 在 iPhone 和 iPad 下查看页面时,我什至看不到视频帧。
<!DOCTYPE HTML>
<html>
<h1>Test Page</h1>
<body>
<video id="movie" width="320" height="240" preload controls>
<source src="Untitled.m4v" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
<source src="iStock_000010231386HD720.ogv" type='video/ogg; codecs="theora, vorbis"'/>
<source src="Untitled.webm" type='video/ogg; codecs="theora, vorbis"'/>
</video>
</body>
</html>
Question for the video tag, the following code works for every browsers expect opera mini, any ideas why? i don't even see a video frame when i view the page under my iphone and ipad with opera mini.
<!DOCTYPE HTML>
<html>
<h1>Test Page</h1>
<body>
<video id="movie" width="320" height="240" preload controls>
<source src="Untitled.m4v" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
<source src="iStock_000010231386HD720.ogv" type='video/ogg; codecs="theora, vorbis"'/>
<source src="Untitled.webm" type='video/ogg; codecs="theora, vorbis"'/>
</video>
</body>
</html>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
iPhone 版 Opera mini 根本不支持 html5,因此它不会显示您的视频。
另请参阅:http://www.opera.com/docs/specs/productspecs/ 和 http://forum.brightcove.com/t5/General-Development/html5-on-Opera-mini-browser-iphone/td-p/5341
Opera mini for iPhone simply does not support html5, thereby it will not display your video.
Also see: http://www.opera.com/docs/specs/productspecs/ and http://forum.brightcove.com/t5/General-Development/html5-on-Opera-mini-browser-iphone/td-p/5341
Opera Mini 不是经典意义上的浏览器:
来自 http://www.opera.com/mobile /规格/:
这就是为什么它不支持视频标签的原因。
Opera Mini isn't a browser in the classic sense:
From http://www.opera.com/mobile/specs/:
Which is why it won't support the video tag.