CordovaYoutubeVideoPlayer
CordovaYoutubeVideoPlayer copied to clipboard
iPhone app crash when video is deleted from YouTube
Hello @ihadeed, Greetings for the day!!
I am developing an ionic 4 app where I have informative videos which I am fetching from YouTube channel and display on the app. This plugin works perfectly for the available videos but when a video is deleted from the YouTube at that time in android is shows error like a video is not available which is correct but in iOS, my app is crashing.
Below are the plugin versions which I am using: "cordova-plugin-youtube-video-player": "^2.4.0" "@ionic-native/youtube-video-player": "^5.20.0" "cordova-ios": "^5.1.1"
It will be really appreciated if you can fix this issue.
Thanks
Looking into the Code, seems that Android has an default Error handling, while iOS hasn't. If you are a bit into native iOS development, you can try to fork the plugin and remove the error yourself. I don't know if the plugin is maintained.
@HansKrywaa It's my bad that I don't know native ios development. So if you can tell me how to fix this then it will be awesome.