You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, according to https://w3c.github.io/picture-in-picture/#disable-pip, the browser "MAY" refrain from doing Picture-in-Picture stuff when that's set, but is not obligated to do so, so 🤷 I guess it still counts as supported as long as the attribute is reflected properly between IDL and content?
What type of issue is this?
Other
What information was incorrect, unhelpful, or incomplete?
It looks like Safari has removed support for the
<video disablepictureinpicture>
attributeWhat browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
disablepictureinpicture
attribute to a<video>
element should remove the UI to enter picture-in-picture mode for a HTML video playerDid you test this? If so, how?
Using the HTML demo on the MDN documentation page: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
Here are the steps I used in the video. This was with Safari Version 17.6 (18618.3.11.11.6, 18618)
controls
attr to confirm that the<video>
element is recreated accurately when input changesdisablepictureinpicture
attributeScreen.Recording.2024-09-09.at.3.30.22.PM.mov
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
This video shows the same steps working as expected in Chrome Version 128.0.6613.120
Screen.Recording.2024-09-09.at.3.39.43.PM.mov
One more thing of interest
This is an edge case but it might be worth noting that it is possible to disable picture-in-picture video globally inside a
WKWebView
in iOS using the WKWebViewConfiguration. allowsPictureInPictureMediaPlayback propertyMDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
MDN metadata
MDN page report details
html.elements.video
The text was updated successfully, but these errors were encountered: