Current status StepĪ website can provide a Picture-in-Picture video experience with the existing Picture-in-Picture API for, however it is very limited. The Picture-in-Picture window position cannot be set by the website.Ī Picture-in-Picture window created with the Document Picture-in-Picture API ( demo).The Picture-in-Picture window cannot be navigated.The Picture-in-Picture window never outlives the opening window.The Picture-in-Picture window floats on top of other windows.The Picture-in-Picture window in the Document Picture-in-Picture API is similar to a blank same-origin window opened via window.open(), with some differences: It extends the existing Picture-in-Picture API for that only allows an HTML element to be put into a Picture-in-Picture window. The Document Picture-in-Picture API makes it possible to open an always-on-top window that can be populated with arbitrary HTML content.