Glitchbone / CordovaYoutubeVideoPlayer

Play Youtube Videos in a native Video Player on Android & iOS
MIT License
83 stars 133 forks source link

YoutubeVideoPlayer not working in ios 11 #45

Open rijink7 opened 6 years ago

rijink7 commented 6 years ago

YoutubeVideoPlayer opens a window with music controls but the video is not loading.

with errors:

2018-02-14 11:36:29.697865+0530 youtube[347:24933] THREAD WARNING: ['YoutubeVideoPlayer'] took '88.044922' ms. Plugin should use a background thread. 2018-02-14 11:36:29.763121+0530 youtube[347:24933] [] <<<< AVOutputDeviceDiscoverySession (FigRouteDiscoverer) >>>> -[AVFigRouteDiscovererOutputDeviceDiscoverySessionImpl outputDeviceDiscoverySessionDidChangeDiscoveryMode:]: Setting device discovery mode to DiscoveryMode_Presence (client: youtube) 2018-02-14 11:36:31.657747+0530 youtube[347:24933] CredStore - performQuery - Error copying matching creds. Error=-25300, query={ class = inet; "m_Limit" = "m_LimitAll"; "r_Attributes" = 1; sync = syna; }

HarisHamdan commented 6 years ago

hi rijink7, have you found the way to solve this...seem like i got the same error

diegodotta commented 6 years ago

This fork is working: https://github.com/denisx304/CordovaYoutubeVideoPlayer

rijink7 commented 6 years ago

hi @Dora3monz still stuck with it. as a temporary solution used inApp browser to open video

jaybowman commented 4 years ago

this plugin is using MPMoviePlayerViewController need to be updated.

'MPMoviePlayerViewController' is deprecated: first deprecated in iOS 9.0 - Use AVPlayerViewController in AVKit.