The new requestPictureInPicture API has different parameters and a different algorithm so we should consider renaming it.
copyToPictureInPictureWindow was proposed however this has problems if we called it once and then had the window open and we called it again on a different element we should reset the Picture-in-Picture window before we copy the new element.
The new
requestPictureInPicture
API has different parameters and a different algorithm so we should consider renaming it.copyToPictureInPictureWindow
was proposed however this has problems if we called it once and then had the window open and we called it again on a different element we should reset the Picture-in-Picture window before we copy the new element.