abritopach / ionic-test-capacitor-youtube-player

Sample Ionic project to test Capacitor Youtube Player Plugin.
2 stars 2 forks source link

Are that changes in YouTube Embed API? Embed config is not supported in RemoteEmbeddedPlayer. #2

Open ngkung opened 4 years ago

ngkung commented 4 years ago

I got this error message in Android Studio. Video cannot play and is always in loading status. (not problem for ios, my app run smooth in Xcode.) I tried in android simulator and it is normal. But when I put it in my android machine. It got problems.

2020-02-15 11:07:22.912 20415-20437/com.myapp E/YouTubeAndroidPlayerAPI: Embed config is not supported in RemoteEmbeddedPlayer. 2020-02-15 11:07:23.022 20415-20415/com.myapp E/SensorManager: registerListenerImpl sensorName:BMI160_ACCELEROMETER Accelerometer Non-wakeup,isWakeUpSensor:false,callingApp: com.mostwin.mayngaapp,callingPid:20415,callingUid:10298 2020-02-15 11:07:23.042 20415-20415/com.myapp E/YoutubePlayerFragment: Youtube Player View onFullscreen true 2020-02-15 11:07:23.078 20415-20415/com.myapp E/RecyclerView: No adapter attached; skipping layout

kinggolf commented 4 years ago

Same exact issue. This appeared to me first in my own app when trying to build to my Android device. I then cloned this example repo, upgraded to latest angular, ionic, and capacitor npm modules. Works very nicely in browser with Ionic serve, but videos do not load on my Android device - fairly low end Moto e5 Play running Android 8. The video does play in Android Studio, similar to reported above, but took quite some time to load.