难道安卓2.1的浏览器支持HTML 5,什么视频格式并发挥它? [英] Does Android 2.1's Browser Support HTML 5 and What Video Format Does It Play?

查看:114
本文介绍了难道安卓2.1的浏览器支持HTML 5,什么视频格式并发挥它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的公司产生了大量的视频,我们要针对尽可能多的设备越好,但这个问题上来的是什么了Android办?

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?

我个人拥有一个基于Android的手机上运行2.1,但我似乎无法得到的HTML 5的标签的工作。甚至当我可以触发浏览器播放视频,它只是抛出一个通知错误,它不能。

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.

有没有指引,以生产Android / HTML 5兼容的视频?可以真正支持?

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

推荐答案

在Android 2.1浏览器目前不支持HTML5视频标签的iPhone浏览器的方式做。为了让Android浏览器播放视频,当你点击你需要添加海报图像的onclick =this.play();视频标记。然而,这将启动一个单独的窗口,不打在同一个浏览器窗口的视频。

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".

的唯一信息,我可以找到关于Android 2.1是否有播放HTML5视频的能力的细节在这里:<一href="http://groups.google.com/group/android-developers/browse_thread/thread/400dc61d41530242/c071c0f9712f7171?lnk=gst&q=html5#c071c0f9712f7171" rel="nofollow">http://groups.google.com/group/android-developers/browse_thread/thread/400dc61d41530242/c071c0f9712f7171?lnk=gst&q=html5#c071c0f9712f7171

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

这个问题是相似的:<一href="http://stackoverflow.com/questions/2587125/does-html5-video-work-on-android-nexus-one">http://stackoverflow.com/questions/2587125/does-html5-video-work-on-android-nexus-one

这篇关于难道安卓2.1的浏览器支持HTML 5,什么视频格式并发挥它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆