energize.js
energize.js copied to clipboard
html5 video controls don't work in Chrome on Android 4
Hi, I've just tested video element in many mobile android browsers and I cannot click/touch any video control only in Chrome mobile browser (v. 27.0.1453.90). But video works fine for Firefox, Dolphin, Opera and default Android browser (all on Galaxy Nexus, Android 4.2.2).
the quick fix I found is to disable energize fo video elements:
touchend = function(e) {
(..)
if(e.target.nodeName == 'VIDEO') {
return;
}
(..)
}
Make it to this when you want to exclude audio controls also (same "bug").
if(e.target.nodeName == 'VIDEO' || e.target.nodeName == 'AUDIO') { return; }