0

I am trying to make an application for Android TV where my use case is very simple. I want to display a content to user and when the user clicks a web view opens and a normal mp4 video (URL) loads.

However it does not start playing in Android TV, it straight away call the onPageFinished() and close the web view screen. It works well in Fire TV.

Do we have to include any other method to play it?

Link I am trying to play

halfer
  • 19,824
  • 17
  • 99
  • 186
Saty
  • 2,563
  • 3
  • 37
  • 88
  • use video view for that – Pavya Jun 03 '16 at 12:43
  • Thanks for the suggestion but I need Webview for specific things – Saty Jun 03 '16 at 13:02
  • then use the HTML5 Video element in HTML the webview will handle the HTML Like a browser would because it is a browser. load a video player from a html file in the assets folder referencing the file you specified – Hudson Jun 03 '16 at 16:30
  • I have tried that as well. even we placed a local file in the asset with a html and tried it however its not working!! any other idea!!! – Saty Jun 06 '16 at 04:50

0 Answers0