Fix preview bar on mobile

Fixes #2021
This commit is contained in:
Ajay
2024-05-24 03:20:21 -04:00
parent c974c2a6d6
commit 0dbb6474b8

View File

@@ -510,6 +510,10 @@ function getPreviewBarAttachElement(): HTMLElement | null {
// For newer mobile YouTube (Jan 2024)
selector: ".YtProgressBarProgressBarLine",
isVisibleCheck: true
}, {
// For newer mobile YouTube (May 2024)
selector: ".YtmProgressBarProgressBarLine",
isVisibleCheck: true
}, {
// For desktop YouTube hover play
// Priority is given to the hover play progress bar over the main progress bar