html.elements.video - did Safari drop support for disablepictureinpicture?
Nobody has claimed this yet.
- Dominant language
- JSON
- Stars
- 5.8k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 186
Description
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> attribute
What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
- Adding the
disablepictureinpictureattribute to a<video>element should remove the UI to enter picture-in-picture mode for a HTML video player
Did 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)
- Show that PiP is enabled by default
- Remove
controlsattr to confirm that the<video>element is recreated accurately when input changes - Add
disablepictureinpictureattribute - Show that PiP is not disabled
https://github.com/user-attachments/assets/d25eb70b-a89d-4f11-9429-6c9de55cc6d3
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
https://github.com/user-attachments/assets/e9d0bf36-8bfd-4c46-82c8-0d6519271ce8
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 property
MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
MDN metadata
MDN page report details
- Query:
html.elements.video - Report started: 2024-09-09T19:22:05.339Z
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the MDN HTML video page and the browser-compat-data query html.elements.video, then verify the reported behavior against Safari 17.6 and current Safari support information. Done means determining whether disablepictureinpicture is supported as documented and updating the compatibility data if the report is confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100