在AVD播放视频与PhoneGap的 [英] Playing video on AVD with phonegap
问题描述
我试图把一个嵌入的视频播放器在我的PhoneGap应用程序的网页之一。
I'm trying to place an embed video player on one of the pages of my PhoneGap application.
我目前使用HTML5视频标签:
I am currently using the html5 video tag:
<video id="video1" height="240" width="360" controls="controls" onclick="this.play();">
<source src="/android_asset/video.mp4">
</video>
但我不能在我的AVD播放我的视频。我试过videojs解决方案太多,但我不能使它工作的。
but I can not play my video on my AVD. I tried the videojs solution too, but I could not make it work either.
有没有什么办法可以播放视频的AVD与PhoneGap的?谢谢大家。
Is there any way to play videos on the AVD with PhoneGap? Thank you all.
推荐答案
我是pretty的肯定,我之前但无论如何,已经回答了这个,视频标记,如果不是所有版本的Android打碎了大多数。围棋星级这些问题:
I'm pretty sure I've answered this before but anyway, 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/android/issues/detail 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
这篇关于在AVD播放视频与PhoneGap的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!