diff --git a/inject.js b/inject.js index ff7ac90e..99dab39b 100644 --- a/inject.js +++ b/inject.js @@ -351,7 +351,9 @@ function defineVideoController() { fragment.appendChild(wrapper); switch (true) { - case location.hostname == "www.amazon.com": + // Only special-case Prime Video, not product-page videos (which use + // "vjs-tech"), otherwise the overlay disappears in fullscreen mode + case location.hostname == "www.amazon.com" && !this.video.classList.contains("vjs-tech"): case location.hostname == "www.reddit.com": case /hbogo\./.test(location.hostname): // insert before parent to bypass overlay