Reputation: 303
Pretty basic question.
I am using PhoneGap/Cordova (http://www.phonegap.com) to build an app for Amazon FireTV OS, which is built on Android. I am using HTML, Javascript, CSS and everything is working fine. However, when I try to use the < video > tag to pull in an .MP4 video, all I am getting is a gray background and film strip logo (picture: https://i.sstatic.net/XCHHB.jpg). What does this mean? The documentation says is supported and I am 100% positive of the path and any other silly pitfalls. Do I need a cordova plugin of some sort? Perhaps the manifest file needs to be tweaked? Thank you for your assistance.
Upvotes: 2
Views: 1140
Reputation: 119
As you didn't provide the code, I will try to form how I have done it before:
video.load();
for androidYou must call video.play();
video.addEventListener('click',function(){
video.play();
},false);
If you trigger play please call video.pause();
before you call video.play();
Upvotes: 1