question

Mondo avatar image
Mondo asked

Play YouTube Videos?

Can someone point me towards the best way to play full screen YouTube videos in a FireTV app? The Fire TV doesn't seem to have the proper YouTube client to use YouTubeAndroidPlayerAPI. I don't even care about on screen controls. Essentially I want to have a queue of video IDs and be able to play them sequentially, skipping to the next or previous via the FireTV remote. Is a webview my only option?
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.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
We do not have an official API for playing youtube video on Fire OS and Fire TV but, Youtube Embed player in webview is not only the option to play Youtube video on Fire TV. There are other options that work on Android devices, like Fire OS and Fire TV, including this one https://github.com/kslazarev/android-youtube-player
10 |5000

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

Benny Neugebauer avatar image
Benny Neugebauer answered
Thanks for pointing out the GitHub repository. Is there also an example on how to play YouTube videos with Android's WebView on Amazon Fire TV? I tried to get it working but the loading spinner is just spinning, so no YouTube playback for me.
10 |5000

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