# GetUserMedia and WebView

**URL:** https://community.thunkable.com/t/getusermedia-and-webview/36186
**Category:** Questions about Thunkable X
**Created:** [July 17, 2018, 9:35am UTC](https://community.thunkable.com/t/getusermedia-and-webview/36186 "2018-07-17T09:35:35Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Daniel\_Huber](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@Daniel\_Huber](https://community.thunkable.com/u/Daniel_Huber)
#### Post date: [July 17, 2018, 9:35am UTC](https://community.thunkable.com/t/getusermedia-and-webview/36186/1 "2018-07-17T09:35:35Z")

</div>

Hi,  
I am using Thunkable X, because i need the crossplatform-possibility.  
I have created a webview-app which works fine for viewing some content.  
But i have a site with getusermedia (webcam).  
In chrome everything is fine but with the app, there is only a symbol of the cam but no stream.  
The error says something about permissions, but the app is installed with permission for camera.  
What can i do?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 17, 2018, 10:40am UTC](https://community.thunkable.com/t/getusermedia-and-webview/36186/2 "2018-07-17T10:40:36Z")

</div>

Hi,

I’m afraid that without seeing your project, I can not say anything about this.

Does the code in your site use the “navigator.mediaDevices” object?

---

<div class="post-metadata">

### Author: ![Daniel\_Huber](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@Daniel\_Huber](https://community.thunkable.com/u/Daniel_Huber)
#### Post date: [July 17, 2018, 6:53pm UTC](https://community.thunkable.com/t/getusermedia-and-webview/36186/3 "2018-07-17T18:53:43Z")

</div>

Hi,  
this is a copy.  
[https://x.thunkable.com/copy/28e6f04c7b4795af8915ba3762f8942f](https://x.thunkable.com/copy/28e6f04c7b4795af8915ba3762f8942f)

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 18, 2018, 7:20am UTC](https://community.thunkable.com/t/getusermedia-and-webview/36186/4 "2018-07-18T07:20:23Z")

</div>

Hi,

I understood. I have this situation.

On iOS 10.3.3, WebViewer displays an error, and the system browser (which is called with the “open link” block) does not request access to the camera and, therefore, the camera window does not work.

On iOS 11.4.1, WebViewer displays an error, but external browser (open link) works with it.

I checked. The navigator.mediaDevices object does not exist in WebViewer.

---

<div class="post-metadata">

### Author: ![Daniel\_Huber](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@Daniel\_Huber](https://community.thunkable.com/u/Daniel_Huber)
#### Post date: [July 18, 2018, 8:26am UTC](https://community.thunkable.com/t/getusermedia-and-webview/36186/5 "2018-07-18T08:26:12Z")

</div>

Ok, thank you.  
So there is no way to do it with webview?  
Is is possibel, to write the code directly into the app?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 18, 2018, 9:04am UTC](https://community.thunkable.com/t/getusermedia-and-webview/36186/6 "2018-07-18T09:04:15Z")

</div>

Yes, unfortunately the service does not work in WebViewer yet.

What code do you want to write in the app? While you can write Javascript code for use in WebViewer.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:01pm UTC](https://community.thunkable.com/t/getusermedia-and-webview/36186/7 "2024-11-08T12:01:13Z")

</div>


