It would be nice if PIP didn't close / need to be manually started on new page...
For example if I go to an anime site, it has an auto-next where when the episode ends, it goes to the next episode's page. During this transition PIP is closed, and I have to reopen it. It would be preferable if in site settings there was an "always PIP for video autoplay" so that during page refresh, the PIP stays open on last/black frame and then when the next video starts it starts playing in the PIP player.
A way to do this with JS seems to be [of course replace youtube.com with URL of the site you want to Auto-pip "
// Check if the current site matches the desired site if (window.location.href.includes("youtube.com")) { // Trigger PiP mode for the video element const video = document.querySelector("video"); if (video && !video.disablePictureInPicture) { video.requestPictureInPicture(); } }"