Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tips:cordova [2015/02/16 16:18] – [Cordova Crosswalk] scipio | tips:cordova [2015/02/19 17:10] (current) – [Cordova] scipio | ||
---|---|---|---|
Line 144: | Line 144: | ||
===== Video autoplay ===== | ===== Video autoplay ===== | ||
+ | |||
+ | Con ionic-crosswalk i video partono da soli con il set di src via javascript | ||
+ | <code javascript> | ||
+ | if (! $('# | ||
+ | $('# | ||
+ | } | ||
+ | $("# | ||
+ | $("# | ||
+ | </ | ||
==== Cordova ==== | ==== Cordova ==== | ||
Line 158: | Line 167: | ||
... | ... | ||
super.init(); | super.init(); | ||
- | getSettings().setMediaPlaybackRequiresUserGesture(false); | + | getSettings(super.appView).setMediaPlaybackRequiresUserGesture(false); |
... | ... | ||