Android 2.1 的浏览器支持 HTML 5 以及播放什么视频格式?

发布于 2024-08-28 05:37:12 字数 188 浏览 3 评论 0原文

我工作的公司制作了大量视频,我们希望针对尽可能多的设备,但问题是 Android 能做什么?

我个人拥有一部运行 2.1 的 Android 手机,但我似乎无法让 HTML 5 标签正常工作。即使我可以触发浏览器播放视频,它也只会抛出一个无法触发的通知错误。

是否有制作 Android/HTML 5 兼容视频的指南?真的支持吗?

The company I work for produces a lot of video and we want to target as many devices as possible, but the question came up of what does the Android do?

I personally own an Android based phone running 2.1, but I can't seem to get the HTML 5 tag to work. Even when I can trigger the browser to playback the video it just throws a notification error that it can't.

Are there guidelines to producing Android/HTML 5 compatible videos? Is it truly supported?

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

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

发布评论

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

评论(1

墨小墨 2024-09-04 05:37:12

android 2.1浏览器目前不支持像iphone浏览器那样的html5视频标签。要让 Android 浏览器在单击海报图像时播放视频,您需要将 onclick="this.play();" 添加到 video 标记。但是,这会启动一个单独的“窗口”,并且不会在同一浏览器“窗口”中播放视频。

我能找到的有关 Android 2.1 是否能够播放 html5 视频的详细信息的唯一信息如下: http://groups.google.com/group/android-developers/browse_thread/thread/400dc61d41530242/c071c0f9712f7171?lnk=gst& q=html5 #c071c0f9712f7171

这个问题类似:Does html5 video work on Android Nexus One 与 Android 版本 2.1?

The android 2.1 browser currently does not support the html5 video tag the way the iphone browser does. To get the android browser to play the video when you click on the poster image you need to add onclick="this.play();" to the video tag. However, this launches a separate "window" and does not play the video in the same browser "window".

The only information I could find with details about whether Android 2.1 has the ability to play html5-video is here: http://groups.google.com/group/android-developers/browse_thread/thread/400dc61d41530242/c071c0f9712f7171?lnk=gst&q=html5#c071c0f9712f7171

This question is similar: Does html5 video work on android nexus one with android version 2.1?

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