mirror of
https://github.com/p-stream/p-stream.git
synced 2026-05-11 19:00:55 +00:00
Revert "fix some grey overlays on the video player with some browsers"
This reverts commit 324cff18cc.
This commit is contained in:
parent
1f5049f7a8
commit
29abc0cf25
3 changed files with 1 additions and 6 deletions
|
|
@ -62,10 +62,7 @@ function ThumbnailDisplay(props: { at: number; show: boolean }) {
|
||||||
className="h-24 border rounded-xl border-gray-800"
|
className="h-24 border rounded-xl border-gray-800"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<p
|
<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">
|
||||||
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" }}
|
|
||||||
>
|
|
||||||
{formattedTime}
|
{formattedTime}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,6 @@ export function CaptionCue({
|
||||||
styling.backgroundBlur !== 0
|
styling.backgroundBlur !== 0
|
||||||
? `blur(${Math.floor(styling.backgroundBlur * 64)}px)`
|
? `blur(${Math.floor(styling.backgroundBlur * 64)}px)`
|
||||||
: "none",
|
: "none",
|
||||||
isolation: styling.backgroundBlur !== 0 ? "isolate" : "auto",
|
|
||||||
fontWeight: styling.bold ? "bold" : "normal",
|
fontWeight: styling.bold ? "bold" : "normal",
|
||||||
...textEffectStyles,
|
...textEffectStyles,
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,6 @@ function VideoElement() {
|
||||||
<video
|
<video
|
||||||
id="video-element"
|
id="video-element"
|
||||||
className="absolute inset-0 w-full h-screen bg-black"
|
className="absolute inset-0 w-full h-screen bg-black"
|
||||||
style={{ isolation: "isolate" }}
|
|
||||||
autoPlay
|
autoPlay
|
||||||
playsInline
|
playsInline
|
||||||
ref={videoEl}
|
ref={videoEl}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue