Webkit Picture in Picture resets itself on IOS
When using the following code on a HTML video tag:
It works as expected on safari. but on IOS safari, the moment picture in picture mode is activated it closes again. The black overlay with the "This video is playing in picture in picture" text is shown, but immediately removed again. Is there something I’m doing wrong?
I’m using this article as reference: https://developer.apple.com/documentation/webkitjs/adding_picture_in_picture_to_your_safari_media_controls