add alert when pip before connected

This commit is contained in:
Ian Ramzy 2020-04-02 15:00:25 -04:00
parent 2c8ee8d921
commit b8b25071c8

View File

@ -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);
});