mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 17:59:42 +02:00
touch on mobile support
This commit is contained in:
parent
d678f5b13d
commit
d45e486fd4
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
||||||
this.type = options.type;
|
this.type = options.type;
|
||||||
|
|
||||||
this.on('click', this.onClick)
|
this.on('click', this.onClick)
|
||||||
|
this.on('touchstart', this.onClick)
|
||||||
},
|
},
|
||||||
onClick: function(){
|
onClick: function(){
|
||||||
// Hide bigPlayButton
|
// Hide bigPlayButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue