# WebXR Iframe Webcam Issue

**URL:** <https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110>\
**Category:** General Help\
**Created:** [April 21, 2021, 6:38pm UTC](https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110 "2021-04-21T18:38:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bnoble](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/bnoble/32/571_2.png) [@Bnoble](https://community.evolveauthoring.com/u/Bnoble)\
**Post date:** [April 21, 2021, 6:38pm UTC](https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110/1 "2021-04-21T18:38:36Z")

</div>

We are embedding an WebXR build into an iFrame that requires the permission to turn on your camera. The experience doesn’t load within the iFrame but loads fine outside of Evolve. I believe the issue is the permission request to turn on your camera.

Any thoughts on how we can go about this?

---

<div class="post-metadata">

**Author:** ![hbailey](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/hbailey/32/603_2.png) [@hbailey](https://community.evolveauthoring.com/u/hbailey)\
**Post date:** [April 22, 2021, 8:44am UTC](https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110/2 "2021-04-22T08:44:24Z")

</div>

Hi there Bnoble and welcome.

It sounda very likely that this is the case. Any chance you are able to share the URL of the experience that we can test out? You can private message it to me if you prefer.

There’s also the option to embed the iFrame content - have you tried that option?

---

<div class="post-metadata">

**Author:** ![Bnoble](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/bnoble/32/571_2.png) [@Bnoble](https://community.evolveauthoring.com/u/Bnoble)\
**Post date:** [April 22, 2021, 12:26pm UTC](https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110/3 "2021-04-22T12:26:29Z")

</div>

Hi hmaffin! Thanks for the response. Pretty new to the Evolve platform so not sure if the live preview link will work. Here is that [link](https://abernethymediaprofessionals.evolveauthoring.com/courses/605b53cfdbb3ac0b0fb03742/preview/index.html?&isPreview=true#/page/605b53d5dbb3ac0b0fb03747). The iframe is below the button which isn’t loading up.

Here is the [build](https://ampcreative.s3.us-east-2.amazonaws.com/GlassesDemo/glassesVTO/glasses.html) outside of Evolve.

---

<div class="post-metadata">

**Author:** ![hbailey](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/hbailey/32/603_2.png) [@hbailey](https://community.evolveauthoring.com/u/hbailey)\
**Post date:** [April 22, 2021, 12:47pm UTC](https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110/4 "2021-04-22T12:47:18Z")

</div>

Well I absolutely love the experience itself!!! What fun 🙂

I’ll test this in an iframe and get back to you shortly.

---

<div class="post-metadata">

**Author:** ![hbailey](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/hbailey/32/603_2.png) [@hbailey](https://community.evolveauthoring.com/u/hbailey)\
**Post date:** [April 22, 2021, 1:29pm UTC](https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110/5 "2021-04-22T13:29:57Z")

</div>

Hi again!

So yes I get the Access Denied message too - our developer says that it would require a tweak to the iframe component in order to allow camera access for something like this - which seems to be the issue currently. This must be a new use case we’ve not seen before!

Helen

---

<div class="post-metadata">

**Author:** ![Bnoble](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/bnoble/32/571_2.png) [@Bnoble](https://community.evolveauthoring.com/u/Bnoble)\
**Post date:** [April 22, 2021, 2:22pm UTC](https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110/6 "2021-04-22T14:22:40Z")

</div>

Hi!

Thanks for looking into this, I really appreciate it. Is there a way for us to tweak the iframe component or is Evolve not open to do that?

---

<div class="post-metadata">

**Author:** ![hbailey](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/hbailey/32/603_2.png) [@hbailey](https://community.evolveauthoring.com/u/hbailey)\
**Post date:** [April 22, 2021, 2:27pm UTC](https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110/7 "2021-04-22T14:27:53Z")

</div>

Hi Bnoble,

No the code of Evolve is not editable, unless you’re happy and confident enough to dig into the json of a published course and make it work that way, however that is neither recommended nor supported if you do!

I have however submitted it as an enhancement request to the developers, which will be considered if it does not cause any type of security issue within the component and/or published courses using it that would mean we would not be able to allow it.

Helen

---

<div class="post-metadata">

**Author:** ![Bnoble](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/bnoble/32/571_2.png) [@Bnoble](https://community.evolveauthoring.com/u/Bnoble)\
**Post date:** [April 22, 2021, 3:47pm UTC](https://community.evolveauthoring.com/t/webxr-iframe-webcam-issue/1110/8 "2021-04-22T15:47:35Z")

</div>

Hi Helen,

Thanks for all the help on this. I went ahead and reached out to the Evolve team and they mentioned placing this on their conversation for the roadmap.

I think for now we will just add a button into the course that links out to the WebXR content.

High-fives,

Blake
