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