问题
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 incorectly for the video?
This is the video: https://www.youtube.com/watch?v=sw6Mg81YMg0
回答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.
来源:https://stackoverflow.com/questions/51838904/embed-config-is-not-supported-in-remoteembeddedplayer