Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tips:cordova:inappbrowser [2015/03/27 15:05] – scipio | tips:cordova:inappbrowser [2015/03/27 17:40] (current) – [autoplay] scipio | ||
---|---|---|---|
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; | ||
+ | | ||
+ | } | ||
</ | </ |