Bug 294974
| Summary: | Safari shows black UI after entering Portal Mode for MSE spatial Videos. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ladvan91, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jean-Yves Avenard [:jya]
Steps To Reproduce:
1. Launch safari with visionOS beta 26
2. Load webpage: https://jyavenard.github.io/htmltests/tests/spatial/
2. Play the second embedded video and enter fullscreen (if entering element fullscreen, one will have to tap the “Spatial Video” button” as well)
4. Notice the black UI
5. Tap on immersive button.
6. Shows black UI.
rdar://153932317
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/47186
Álvaro Velad Galván
I found another issue with https://jyavenard.github.io/htmltests/tests/spatial/
Play first video (HTML5 video with MP4 video)
Mute the video
Enter fullscreen
The video si freeze, I you unmute the video, the video plays fine again.
Can you review it?
Note: we reproduce the same issue with spatial videos without audio.
Jean-Yves Avenard [:jya]
>The video si freeze, I you unmute the video, the video plays fine again.
This is element fullscreen, only audible video can be controlled with MediaSession or external controls. That's how it has always worked. We have ongoing work in this area, try playing with the preference "VideoFullsceenPrefersMostVisibleHeuristic" it should work as you expect even with muted videos.
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/47295
EWS
Committed 296748@main (93215ecea1e9): <https://commits.webkit.org/296748@main>
Reviewed commits have been landed. Closing PR #47295 and removing active labels.