CordovaYoutubeVideoPlayer icon indicating copy to clipboard operation
CordovaYoutubeVideoPlayer copied to clipboard

iPhone app crash when video is deleted from YouTube

Open iamrsojitra opened this issue 5 years ago • 2 comments

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

iamrsojitra avatar Feb 03 '20 05:02 iamrsojitra

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.

EinfachHans avatar Feb 05 '20 08:02 EinfachHans

@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.

iamrsojitra avatar Feb 05 '20 08:02 iamrsojitra