通过在Android上的PhoneGap视频 [英] video via phonegap on android
问题描述
我一直想在我,我使用PhoneGap的做Android应用播放视频。我有几个问题,所以我有几个问题。
I have been trying to play video in my android application that I made using phonegap. I had several problems and so I have several questions.
首先,做HTML5视频标签的工作与PhoneGap的?我不能成功写的HTML5 codeS。
其次,什么类型的影片是由Android和PhoneGap的支持?
第三,我尽量发挥它的扩展名是MP4文件。还有就是屏幕上没有现场,但我能听到视频的声音。有什么可以是这个原因?
Firstly, does html5 video tag work with phonegap? I couldn't succeed to write the html5 codes. Secondly, what types of videos are supported by android and phonegap? Thirdly, I try to play a file whose extension is mp4. There is no scene on the screen but I can hear the voice of the video. What can be the reason?
先谢谢了。
推荐答案
不,视频标签在大多数Android是否不是所有版本打破。明星走这些问题:
Nope, the video tag is broken in most if not all versions of Android. Go star these issues:
HTTP://$c$c.google。 COM / p /安卓/问题/细节?ID = 22254 并
HTTP://$c$c.google.com/p /安卓/问题/细节?ID = 8272
为了解决这个痛@ $$我已经写了,你可以使用Android上播放视频插件。
In order to work around this pain in the @$$ I've written a plugin you can use on Android to play videos.
的http://simonmacdonald.blogspot.com/2011/11/video-player-plugin-for-phonegap.html
这篇关于通过在Android上的PhoneGap视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!