Skip to content

Commit

Permalink
Default to native controls for touch on iphones and native android de…
Browse files Browse the repository at this point in the history
…vices
  • Loading branch information
gkatsev committed Aug 21, 2015
1 parent 80c9ca9 commit 28509f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/tech/html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ class Html5 extends Tech {
// Our goal should be to get the custom controls on mobile solid everywhere
// so we can remove this all together. Right now this will block custom
// controls on touch enabled laptops like the Chrome Pixel
if (browser.TOUCH_ENABLED && options.nativeControlsForTouch === true) {
if (browser.TOUCH_ENABLED && options.nativeControlsForTouch === true ||
browser.IS_IPHONE ||
browser.IS_NATIVE_ANDROID) {
this.setControls(true);
}

Expand Down

0 comments on commit 28509f4

Please sign in to comment.