Disable chromecast button and remove dimming

This commit is contained in:
Nicolas Mowen 2024-03-06 07:07:51 -07:00
parent 656ca4fa7e
commit 18c964237d

View File

@ -301,6 +301,7 @@ export default function DynamicVideoPlayer({
autoPlay
playsInline
muted
disableRemotePlayback
onSeeked={onPreviewSeeked}
onLoadedData={() => controller.previewReady()}
>
@ -308,9 +309,6 @@ export default function DynamicVideoPlayer({
<source src={currentPreview.src} type={currentPreview.type} />
)}
</video>
{onClick && !hasRecordingAtTime && (
<div className="absolute inset-0 z-10 bg-black bg-opacity-60 rounded-2xl" />
)}
</div>
);
}