photostack icon indicating copy to clipboard operation
photostack copied to clipboard

Use Picture-in-Picture API for floating preview window

Open corbindavenport opened this issue 6 years ago • 1 comments

The preview window isn't visible on mobile unless the user scrolls down all the way to the bottom of the page. One possible solution would be to add a button to 'pop-out' the preview into a floating window using the Picture-in-Picture API.

https://developers.google.com/web/updates/2018/10/watch-video-using-picture-in-picture

I'm not sure if it's possible to request a PiP for an image element.

corbindavenport avatar Apr 26 '19 00:04 corbindavenport

https://www.chromestatus.com/features/4844605453369344

corbindavenport avatar Apr 27 '19 14:04 corbindavenport