[Webkit-unassigned] [Bug 208988] [WebXR] Implement WebXR device API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 4 15:49:15 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=208988

--- Comment #24 from Daniel Rossi <electroteque at gmail.com> ---
I've made a new ticket regarding screen orientation lock api which is needed for both fullscreen canvas/video content and WebXR. It's been available in Android for 6 years. 

https://bugs.webkit.org/show_bug.cgi?id=257695

There is already a ticket regarding to enabling html fullscreen support for iPhone, where Ipad has fullscreen support. It still won't support launching canvas elements fullscreen. Css fullscreen hacks just don't work well, and landscape lock css hacks work for the Iphone hack but not the best either. You can't manipulate orientation of Ipad fullscreen elements however, so in portrait mode it looks silly. 

https://bugs.webkit.org/show_bug.cgi?id=206854

I had to work on a hack to launch canvas rendering into a seperate video and make that fullscreen for iPhone. I'm surprised it actually worked and managed to hack it to autoplay, not making the video inline allows it to play and show properly. I think there is a bug with muted and inline video with MediaStream. I worked around the clock to pull it off. Device orientation of the original rendering is reflected on the second fullscreen video also. 

https://github.com/danrossi/canvas-pip-fullscreen/blob/main/src/CanvasFullscreen.js#L26

I think both are needed at the same time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230604/f0614671/attachment.htm>


More information about the webkit-unassigned mailing list