Small update: Edge now supports picture-in-picture with a little button out of the box! So you no longer need the code snippet.
Here’s a quick little helper to pop out video players in Microsoft Edge.
requestPictureInPicture Edge (like Chrome these days) supports picture in picture mode for videos but it’s not always apparent how to actually pop out a videoplayer. Here’s a quick one-liner that you can try in the browser console: