Embed config is not supported in RemoteEmbeddedPlayer
Asked Answered
V

1

4

When I try to play a youtube video on android using the youtube official api I get this error in logcat

E/YouTubeAndroidPlayerAPI: Embed config is not supported in RemoteEmbeddedPlayer.

and then the onError callback is triggered with NOT_PLAYABLE reason.

Is it something configured incorrectly for the video?

This is the video: https://www.youtube.com/watch?v=sw6Mg81YMg0

Vannavannatta answered 14/8, 2018 at 10:6 Comment(2)
you can try this alternative YouTube player to see if it gives the same error: github.com/PierfrancescoSoffritti/android-youtube-playerReiko
In my case this error in logcat appears for each video but it still works ok, it's being played without any errors or crashes. I guess we can just ignore itAbner
B
1

had same problem when I created my project for Android TV as the target device, then I create a new project for phone and tablet. Now it works

hope this helps.

Bedtime answered 6/9, 2018 at 19:16 Comment(1)
Check this post linkBedtime

© 2022 - 2024 — McMap. All rights reserved.