From 8a0da692766b6386eebe9b5a138b2802eb277dca Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sun, 13 Nov 2022 21:45:18 -0800 Subject: [PATCH] plyr: fix seeking --- src/components/PsVideo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PsVideo.ts b/src/components/PsVideo.ts index 5fd2a7db..740828a9 100644 --- a/src/components/PsVideo.ts +++ b/src/components/PsVideo.ts @@ -78,7 +78,7 @@ class VideoContentSetup { origEvent.clientX, origEvent.clientY ); - if (elems.some((el) => el.classList.contains("vjs-control-bar"))) { + if (elems.some((el) => el.classList.contains("plyr__controls"))) { e.preventDefault(); return; }