Browse Source

add z-index 0 to video element

pull/218/head
mrjvs 2 years ago
parent
commit
37d5aaede9
  1. 2
      src/video/components/internal/VideoElementInternal.tsx

2
src/video/components/internal/VideoElementInternal.tsx

@ -43,7 +43,7 @@ function VideoElement(props: Props) { @@ -43,7 +43,7 @@ function VideoElement(props: Props) {
autoPlay={props.autoPlay}
muted={mediaPlaying.volume === 0}
playsInline
className="h-full w-full"
className="z-0 h-full w-full"
>
{source.source?.caption ? (
<track default kind="captions" src={source.source.caption.url} />

Loading…
Cancel
Save