Dynamic Overlay with UserId on MuxPlayer Disappears in Fullscreen Mode
I'm using the MuxPlayer component for video on my website and have created an overlay that displays the userId dynamically. The overlay works perfectly in normal mode, but it disappears when the video enters fullscreen mode. Here is the code I'm using: <> <div className="relative overflow-hidden"> <div className="absolute inset-0 bg-black text-white bg-opacity-20 flex justify-center items-center z-40"> {userId} </div> <MuxPlayer title={title} playbackId={playbackId} className={cn(!isReady && "hidden")} onCanPlay={() => setIsReady(true)} theme="minimal" onEnded={onEnd} preload="auto" defaultSho
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.