Picture in Picture
Hello Mozilla, I like your picture-in-picture feature in Firefox. Is it possible to check via JavaScript if a user has PIP enabled? Some events like "enterpictureinpicture" are described on your website https://developer.mozilla.org/en-US/docs/Web/API/Picture-in-Picture_API, but have not yet been implemented. When will this happen? It is important for web designers to know whether a visitor uses this feature - for example to hide the original video. Or is there another method to hide it?
Hello Mozilla,
I like your picture-in-picture feature in Firefox.
Is it possible to check via JavaScript if a user has PIP enabled?
Some events like "enterpictureinpicture" are described on your website https://developer.mozilla.org/en-US/docs/Web/API/Picture-in-Picture_API, but have not yet been implemented. When will this happen?
It is important for web designers to know whether a visitor uses this feature - for example to hide the original video.
Or is there another method to hide it?
所有回复 (1)
Try to ask advice on a web development oriented forum.