I have managed to use this library to play both YouTube videos and playlists with Google TV Chromecast (Android 14), but I have one critical issue. How can I enable autoplay for YouTube playlists and redirect them to the native installed YouTube app? P.S. When I disable autoplay by setting it to zero, it redirects to the YouTube native installed application. However, when I enable autoplay and set it to 1, autoplay works but it stays on the web view. Could someone please kindly let me know how I can have autoplay enabled and redirect playlists to the native YouTube installed app? Please consider that Users your library in Android use Different devices , I mean I am using it in Google Tv and it should be user and remote control friendly too. Thanks.
IFramePlayerOptions iFramePlayerOptions = new IFramePlayerOptions.Builder()
.controls(1)
.autoplay(1)
.listType("playlist")
.list(PLAYLIST_ID)
.build();
@PierfrancescoSoffritti
I have managed to use this library to play both YouTube videos and playlists with Google TV Chromecast (Android 14), but I have one critical issue. How can I enable autoplay for YouTube playlists and redirect them to the native installed YouTube app? P.S. When I disable autoplay by setting it to zero, it redirects to the YouTube native installed application. However, when I enable autoplay and set it to 1, autoplay works but it stays on the web view. Could someone please kindly let me know how I can have autoplay enabled and redirect playlists to the native YouTube installed app? Please consider that Users your library in Android use Different devices , I mean I am using it in Google Tv and it should be user and remote control friendly too. Thanks.
Kindest Regards, Sincerely