Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tips:cordova:inappbrowser [2015/02/26 08:14] – [backbutton] scipio | tips:cordova:inappbrowser [2015/03/27 17:40] (current) – [autoplay] scipio | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| </ | </ | ||
| - | to (note public method) | + | to (public method) |
| <code java> | <code java> | ||
| public void goBack() { | public void goBack() { | ||
| Line 68: | Line 68: | ||
| inAppWebView.getSettings().setUseWideViewPort(true); | inAppWebView.getSettings().setUseWideViewPort(true); | ||
| + inAppWebView.getSettings().setMediaPlaybackRequiresUserGesture(false); | + inAppWebView.getSettings().setMediaPlaybackRequiresUserGesture(false); | ||
| + | </ | ||
| + | |||
| + | ===== loop ===== | ||
| + | |||
| + | Looping mode does not work, add this hack to javascript and add looping=" | ||
| + | <code javascript> | ||
| + | var videos = jQNew( " | ||
| + | for (index = 0; index < videos.length; | ||
| + | | ||
| + | } | ||
| </ | </ | ||