Just found out that a native API is available for Picture in Picture: - https://googlechrome.github.io/samples/picture-in-picture/ - https://blog.arnellebalane.com/the-picture-in-picture-api-30415372009f We have to check if we can use this as it seems much cleaner than the current implementation.