Hi HN! I built a React component that makes it easy to use the Document Picture-in-Picture API.
What is Document PiP? Unlike the traditional video PiP, Document Picture-in-Picture lets you put any HTML content in an always-on-top floating window.
Package: https://www.npmjs.com/package/react-document-pip
This library uses the Document Picture-in-Picture API, which is currently supported in: - Chrome 116+ - Edge 116+ - Opera 102+
Comments URL: https://news.ycombinator.com/item?id=45576961
Points: 1
# Comments: 0
.png)

