1
0
mirror of https://github.com/videojs/video.js.git synced 2025-07-03 00:57:02 +02:00

@heff turned on the custom html controls for touch devices. closes #1617

This commit is contained in:
Steve Heffernan
2014-10-28 16:53:30 -07:00
parent ce18a9af74
commit d55227668c
2 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,8 @@ vjs.Html5 = vjs.MediaTechController.extend({
// 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 (vjs.TOUCH_ENABLED && player.options()['nativeControlsForTouch'] !== false) {
if (vjs.TOUCH_ENABLED && player.options()['nativeControlsForTouch'] === true) {
alert('useNativeControls');
this.useNativeControls();
}