From d45e486fd48584cf207668d2831d13ff5b0e9d04 Mon Sep 17 00:00:00 2001 From: Kasper Moskwiak Date: Thu, 13 Aug 2015 23:35:59 +0200 Subject: [PATCH] touch on mobile support --- lib/videojs-resolution-switcher.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/videojs-resolution-switcher.js b/lib/videojs-resolution-switcher.js index b92d549..9ca2a3c 100644 --- a/lib/videojs-resolution-switcher.js +++ b/lib/videojs-resolution-switcher.js @@ -28,6 +28,7 @@ this.type = options.type; this.on('click', this.onClick) + this.on('touchstart', this.onClick) }, onClick: function(){ // Hide bigPlayButton