Picture-in-Picture

Picture-in-Picture

Link | GitHub

Note: In order for this site to work you may have to allow permission and it will not work on mobile devices. I included a console.log of the error for to see as soon as the page is loaded. Just check the console! However, if you pull the code and run it locally it will work no issue.

This simple site immediately asks for permission to share your screen to put anything you choose into a picture-in-picture mode. Once you hit the start button the screen you chose will then show and can be dragged around and adjusted.

Built with HTML, CSS, and JavaScript