CB-11013 IAB enabling background play of YouTube videos?

Adds shouldPause feature to stop backgound audio
This commit is contained in:
daserge
2016-08-16 21:22:32 +03:00
parent 2776b14db6
commit 698648f15d
2 changed files with 27 additions and 0 deletions
+1
View File
@@ -109,6 +109,7 @@ instance, or the system browser.
- __zoom__: set to `yes` to show Android browser's zoom controls, set to `no` to hide them. Default value is `yes`.
- __hardwareback__: set to `yes` to use the hardware back button to navigate backwards through the `InAppBrowser`'s history. If there is no previous page, the `InAppBrowser` will close. The default value is `yes`, so you must set it to `no` if you want the back button to simply close the InAppBrowser.
- __mediaPlaybackRequiresUserAction__: Set to `yes` to prevent HTML5 audio or video from autoplaying (defaults to `no`).
- __shouldPauseOnSuspend__: Set to `yes` to make InAppBrowser WebView to pause/resume with the app to stop background audio (this may be required to avoid Google Play issues like described in [CB-11013](https://issues.apache.org/jira/browse/CB-11013)).
iOS only: