Gene Ellis
Gene Ellis

Reputation: 303

HTML5 Video in Amazon FireTV Apps

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

Answers (1)

user800813
user800813

Reputation: 119

As you didn't provide the code, I will try to form how I have done it before:

  1. Make sure your code does not have video.load(); for android
  2. You must call video.play();

    • example:

    video.addEventListener('click',function(){ video.play(); },false);

  3. If you trigger play please call video.pause(); before you call video.play();

Upvotes: 1

Related Questions