Skip to content

Commit

Permalink
Fixed QC 6254 - Touching the video area for play/pause on Android > 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
avivais committed Dec 25, 2012
1 parent a68ff31 commit 8625c3e
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -1028,6 +1028,11 @@ mw.PlayerControlBuilder.prototype = {
.unbind( "touchstart" + this.bindPostfix );
},
addPlayerTouchBindings: function(){
// Android > 4.1 has antive touch bindings

This comment has been minimized.

Copy link
@mdale

mdale Dec 26, 2012

Native touch bindings for the video tag? ... What about hover controls? you return here, so we never add "touchstart" .showControlBar(); ?

Did you test this for hover controls ? What device / browser are you testing here?

if ( navigator.userAgent.indexOf( 'Android 4.1') != -1 || navigator.userAgent.indexOf( 'Android 4.2') != -1 ) {
return;
}

var embedPlayer = this.embedPlayer;
var _this = this;
var $interface = embedPlayer.getInterface();
Expand Down

0 comments on commit 8625c3e

Please sign in to comment.