diff --git a/src/content.ts b/src/content.ts index d969fc32..c3796cb9 100644 --- a/src/content.ts +++ b/src/content.ts @@ -391,6 +391,16 @@ function handleMobileControlsMutations(): void { function createPreviewBar(): void { if (previewBar !== null) return; + if (onInvidious) { // shortut invidious + // skip isVisible check for invidious + const el = document.querySelector(".vjs-progress-holder"); + if (el) { + previewBar = new PreviewBar(el, onMobileYouTube, onInvidious); + updatePreviewBar(); + return; + } + } + const progressElementSelectors = [ // For mobile YouTube ".progress-bar-background",