mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-13 13:49:19 +08:00
add alert when pip before connected
This commit is contained in:
parent
2c8ee8d921
commit
b8b25071c8
@ -694,6 +694,9 @@ function togglePictureInPicture() {
|
||||
});
|
||||
} else {
|
||||
pipVideo.requestPictureInPicture().catch((error) => {
|
||||
alert(
|
||||
"You must be connected to another person to endter picture in picture."
|
||||
);
|
||||
logIt("Error entering pip.");
|
||||
logIt(error);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user