Revert "fix some grey overlays on the video player with some browsers"

This reverts commit 324cff18cc.
This commit is contained in:
Pas 2025-11-07 15:08:49 -07:00
parent 1f5049f7a8
commit 29abc0cf25
3 changed files with 1 additions and 6 deletions

View file

@ -62,10 +62,7 @@ function ThumbnailDisplay(props: { at: number; show: boolean }) {
className="h-24 border rounded-xl border-gray-800"
/>
)}
<p
className="mt-1 mx-auto text-center border rounded-xl border-gray-800 px-3 py-1 backdrop-blur-lg bg-black bg-opacity-20 w-max"
style={{ isolation: "isolate" }}
>
<p className="mt-1 mx-auto text-center border rounded-xl border-gray-800 px-3 py-1 backdrop-blur-lg bg-black bg-opacity-20 w-max">
{formattedTime}
</p>
</div>

View file

@ -98,7 +98,6 @@ export function CaptionCue({
styling.backgroundBlur !== 0
? `blur(${Math.floor(styling.backgroundBlur * 64)}px)`
: "none",
isolation: styling.backgroundBlur !== 0 ? "isolate" : "auto",
fontWeight: styling.bold ? "bold" : "normal",
...textEffectStyles,
}}

View file

@ -103,7 +103,6 @@ function VideoElement() {
<video
id="video-element"
className="absolute inset-0 w-full h-screen bg-black"
style={{ isolation: "isolate" }}
autoPlay
playsInline
ref={videoEl}