Skip to content

Conversation

@conshus
Copy link
Contributor

@conshus conshus commented Jan 4, 2026

Happy New Year!
XR Blocks got me inspired to give conference talks again. Last year, I mostly gave workshops. I'm attempting to be able to stream the video out from my Galaxy XR headset to the conference presentation screen to show slides and demos. To show my slides or maybe a website, I wanted to have WebView UI component. I didn't see one, so I made one with the help of Gemini on the Threejs parts.

I basically followed how the VideoView UI component was set up.

I also have a StackBlitz of a running demo for folks to check out: https://stackblitz.com/edit/stackblitz-starters-v5psc3mf?file=index.html (You have to open the preview in a new tab/window because I don't think you can have an iframe in another iframe) It's structured like the UI sample app so it should be easy to just add it.

Let me know what y'all think.

@dli7319
Copy link
Collaborator

dli7319 commented Jan 5, 2026

This won't work on a device though because the iframe isn't rendered by WebGL.

@ruofeidu
Copy link
Collaborator

ruofeidu commented Jan 5, 2026

Hi Dwane,

I really appreciate your contributions!

However, WebView is still challenging in WebXR today because the iframe isn't rendered by WebGL and due to privacy setup.

Do you have a working demo recording on your end? Or is there any special Chrome flags that you are using?

Your demo shows this on my side:
Screenshot 2026-01-05 at 2 50 48 PM

Cheers,
Ruofei

@ruofeidu ruofeidu added the enhancement New feature or request label Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants