plyr: fix seeking

pull/221/head
Varun Patil 2022-11-13 21:45:18 -08:00
parent 478f884a21
commit 8a0da69276
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class VideoContentSetup {
origEvent.clientX, origEvent.clientX,
origEvent.clientY origEvent.clientY
); );
if (elems.some((el) => el.classList.contains("vjs-control-bar"))) { if (elems.some((el) => el.classList.contains("plyr__controls"))) {
e.preventDefault(); e.preventDefault();
return; return;
} }