mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-23 10:39:20 +08:00
make pip button static
This commit is contained in:
parent
cf9244b472
commit
f62100cd0d
@ -103,7 +103,7 @@
|
|||||||
>
|
>
|
||||||
<i class="fas fa-external-link-alt fa-xs"></i>
|
<i class="fas fa-external-link-alt fa-xs"></i>
|
||||||
</button>
|
</button>
|
||||||
<div class="HoverState" id="pip-text">Enter Picture in Picture</div>
|
<div class="HoverState" id="pip-text">Toggle Picture in Picture</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="buttonContainer">
|
<div class="buttonContainer">
|
||||||
|
@ -769,14 +769,15 @@ function togglePictureInPicture() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//todo handle updating of pip button better
|
// pipVideo.addEventListener("enterpictureinpicture", () => {
|
||||||
pipVideo.addEventListener("enterpictureinpicture", () => {
|
// $("#pip-text").text("Exit Picture in Picture");
|
||||||
$("#pip-text").text("Exit Picture in Picture");
|
// alert("enter pip");
|
||||||
});
|
// });
|
||||||
|
//
|
||||||
pipVideo.addEventListener("leavepictureinpicture", () => {
|
// pipVideo.addEventListener("leavepictureinpicture", () => {
|
||||||
$("#pip-text").text("Enter Picture in Picture");
|
// $("#pip-text").text("Enter Picture in Picture");
|
||||||
});
|
// alert("exit pip");
|
||||||
|
// });
|
||||||
//
|
//
|
||||||
//Picture in picture
|
//Picture in picture
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user