I want to play youtube videos in my Android TV APP. I am also working on a Android phone/tablet APP and I was able to use Youtube Android API to play videos. But when I try
I've created YoutubeTV library, a wrapper for YouTube Player API Reference for iframe Embeds
It provides a YoutubeTvView
that embeds a Webview
with Youtube iframe with all Javascript API available from this view.
Also, YoutubeTvFragment
holds a YoutubeTvView
with a media control bar (PlaybackOverlayFragment
)