player.js icon indicating copy to clipboard operation
player.js copied to clipboard

enterpictureinpicture event and getPictureInPicture method on Firefox

Open romain-w opened this issue 4 years ago • 1 comments

Expected Behavior

The player should send a enterpictureinpicture event when entering into this mode on Firefox The player should answer with a valid state when method getPictureInPicture is sent

Actual Behavior

No event is returned when entering into PIP with Firefox self integreted button and the method getPictureInPicture cant detect if the player is a Pip (it sent false each time)

Steps to Reproduce

Test on Firefox : https://player.vimeo.com/api/demo/357274789

Thanks in advance.

romain-w avatar Mar 30 '21 15:03 romain-w

This is because Firefox doesn't yet support the Picture-in-Picture APIs [0].

GreenRecycleBin avatar Dec 03 '22 04:12 GreenRecycleBin

Firefox still does not support the Picture-in-Picture API so our player doesn't know either. If they ever implement that API, it will start working properly through our Player API.

bdougherty avatar Apr 03 '24 19:04 bdougherty