question

Evgeniy avatar image
Evgeniy asked

FireTV Hybrid App through WebClient

There is a task to create hybrid HTML5 app for FireTV. First I try use Web Tester App on https://github.com/amzn/web-app-starter-kit-for-fire-tv and this is what I want to reach. All is work perfect. But my task is develop hybryd app, I can't Then I create app and try use WebClient, but without success. Broken scale, no control and so on. After that I switch to AmazonWebView. It starts rendering in a right way and control is working, but it can't play video. I have this error: E/chromium﹕ [ERROR: gl_surface.cc(211)] Not implemented reached in virtual void* gfx::GLSurface::GetDisplay() E/qdutils﹕ FBIOGET_FSCREENINFO failed E/chromium﹕ [ERROR: gl_surface.cc(211)] Not implemented reached in virtual void* gfx::GLSurface::GetDisplay() Question is: 1. Web Tester App - is there is somewhere sources to understand how it work and try to reach such functionality. I need very similar functionality, load html5 files and render it. 2. Why video is not playing and how to fix it?
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.

1 Answer

DougM@Amazon avatar image
DougM@Amazon answered
Hello Evgeniy, Thanks for your question. One step you may want to look into is turning on the Amazon Webview's remote debugging capabilities so that way you can use the Chrome Devtools to debug your application. We publish more information on how to do this at: https://developer.amazon.com/public/solutions/platforms/android-fireos/docs/building-and-testing-your-hybrid-app#More%20Info Also, depending on what kind of video you are attempting to play, you may need to use the VisualOn SDK within your Hybrid App in order to get video playback to work correctly. We document how to enable VisualOn within your video tags in our Web Apps FAQ: https://developer.amazon.com/public/solutions/platforms/webapps/faq
10 |5000

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