diff --git a/plugins/invidivizer/index.jsx b/plugins/invidivizer/index.jsx index 0f9c426..82c6a53 100644 --- a/plugins/invidivizer/index.jsx +++ b/plugins/invidivizer/index.jsx @@ -62,12 +62,17 @@ function handleDispatch(payload) { const embPath = tsMatch?.[0] ? match[1] + "?" + tsMatch[0] : match[1]; + const newSrc = new URL(`https://${store.instance}/embed/${embPath}`); + + // see https://docs.invidious.io/url-parameters/ + newSrc.searchParams.set("autoplay", 0); + e.style.display = "none"; e.insertAdjacentElement( "afterend",