touch on mobile support

This commit is contained in:
Kasper Moskwiak 2015-08-13 23:35:59 +02:00
parent d678f5b13d
commit d45e486fd4

View file

@ -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