We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc4428b commit 164f302Copy full SHA for 164f302
1 file changed
video/video.html
@@ -264,8 +264,8 @@
264
var start = document.querySelector("#start");
265
var once = false;
266
267
- start.addEventListener('touchstart', onTouch);
268
- start.addEventListener('mousedown', onTouch);
+ start.addEventListener('touchend', onTouch);
+ start.addEventListener('mouseup', onTouch);
269
function onTouch() {
270
if (once) {
271
return;
0 commit comments