FIXED: Seeking

Seeking was being caused on the mousemove event, regardless of if the mouse was actually dragging or not
pull/3710/head
Aaron George 6 years ago committed by GitHub
parent 92cd56a348
commit 68feb78d99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,7 +14,7 @@
showControlsTimeout = setTimeout(() => showControls = false, 2500);
showControls = true;
if (e.which !== 1) return; // mouse not down
if (e.buttons !== 1) return; // mouse not down
if (!duration) return; // video not loaded yet
const { left, right } = this.getBoundingClientRect();

Loading…
Cancel
Save