UAR ThreeJS Custom Permissions Request Not Working

Hi there,

I am having some issues with ZapparThree.permissionRequest() when making a custom permissions request page. Everything works fine upon clearing my site settings and loading the experience for the first time. However, if I have already granted permissions before and load the experience again, I get this error:

“Uncaught (in promise) DOMException: Could not start video source” @ zappar-threejs.js: 9
(I am using v0.3.5)

And the camera is unable to start. I have to go back into my site settings and clear them, prompting the permissions prompt to pop up. Then only will I be able to access the camera in my experience.

Any help is much appreciated! Thank you.

Edit: Turns out my phone needed an update!

Hi @ashlee.fms,

If you could share a minimal example to recreate this issue, that would be super helpful to identify the problem.

Many thanks!

Hi @Deim,

I’ve sent you a message with the relevant files attached, as this is a project for a client. Thank you so much!

1 Like