chore: remove PIP overlay

This commit is contained in:
kieran 2024-05-13 15:33:31 +01:00
parent da11203ed7
commit 90b46257ed
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941

View File

@ -262,13 +262,6 @@ export default function LiveVideoPlayer({
</div>
</div>
)}
{isPictureInPictureActive && (
<div
className="absolute z-20 bg-[#00000055] select-none w-full h-full flex items-center justify-center cursor-pointer">
<h2 onClick={async () => togglePictureInPicture(!isPictureInPictureActive)}>Video is playing in PIP
window</h2>
</div>
)}
{status === VideoStatus.Offline && (
<div className="absolute w-full h-full z-20 bg-[#000000aa] flex items-center justify-center text-3xl font-bold uppercase">
<FormattedMessage defaultMessage="Offline" id="7UOvbT" />