apache / apache/cordova-plugin-inappbrowser
Youtube, Vimeo, others - second played video crashes the app when opened in native player - IOS
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
cordova-lib: 7.1.0
cordova-ios: 4.5.4
cordova-plugin-inappbrowser: 3.0.0
Same behavior in cordova-plugin-inappbrowser-wkwebview
Tested with IPhone 6 - IOS latest Beta of 12, Xcode10 and Simulator for Iphone 6, IOS11.4, Simulator for Iphone XS IOS 12.
Open a Youtube link in inappbrowser. The native video player starts, all OK. Stop, tap on another suggested video. In real device app closes down. In Simulator app freezes.
The highlight in red is displayed right after tap to watch the second video.
Meaning of [EXC_BAD_ACCESS](https://stackoverflow.com/questions/19183555/thread-1-exc-bad-access-code-1-address-0xf00000c)
Later Edit: after more testing, I guess it happens with any video source and it seems to be an issue between the inapbrowser and the native video player.
Later..er Edit: all ok if 'allowInlineMediaPlayback=yes' and the native player is not opened. However, if the video is pushed to full screen (native player) -> go to the top of this text.

Contributor guide
Research direction
Start by reproducing the crash or freeze using the reported Cordova, iOS, and in-app browser versions, first with a YouTube link and then with another video source. Compare behavior with allowInlineMediaPlayback=yes and with fullscreen native playback. Done means opening a second video in the native player no longer closes or freezes the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100