From 28509f4da6e4a12b21a6abc2497bd7d85216ca88 Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Fri, 21 Aug 2015 14:18:55 -0400 Subject: [PATCH] Default to native controls for touch on iphones and native android devices --- src/js/tech/html5.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/tech/html5.js b/src/js/tech/html5.js index 3988202c62..378381a2f7 100644 --- a/src/js/tech/html5.js +++ b/src/js/tech/html5.js @@ -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); }