question

Amazon Kunde avatar image
Amazon Kunde asked

UI Freeze

Hello team, I have a app developed based on cordova. Everything happen to work fine. However, once I play a video inside the app. The player does not occupy full screen... there will be some grey space in the bottom of the screen. The player settings is full screen, even in our css and html we have give width and height 100% respectively. Also, UI freezes once the video begins. Not sure what could be the reason. Kindly suggest what can be done..!! Regards Rakesh.N
fire tv
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Levon@Amazon avatar image
Levon@Amazon answered
Hi Rakesh, Apologies for the delay. A possible suggestions would be to use these calls in order to play a video in fullscreen: [code] document.getElementById("vid1").webkitRequestFullscreen(); document.getElementById("vid1").play(); [/code] Please let us know if you have any further questions. Thanks!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Nick Gardner avatar image
Nick Gardner answered
Hi, Does this only happen on Amazon devices, or does the app work when displaying it on a desktop or other browser? There shouldn't be anything special about the Fire TV in this regard, but can I ask you to post your code for the full screen part just to make sure there isn't any issue with it? Thanks, Nick
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Amazon Kunde avatar image
Amazon Kunde answered
Hello Nick, Well, the same code runs on android google nexus. It's working fine in all the other devices. Problem is with amazon fire tv. once I play the video... it's not occupying full screen, there is some grey colored space at the bottom. Also, the UI freezes. I have screenshot of the code part which is sufficient for your understanding. https://drive.google.com/open?id=0B9nOduJIKxoeM2NCVzI5aW9lUUU Please let me know for more information. Regards, Rakesh Message was edited by: Amazon Kunde
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.