Why Web viewer doesn't show video and audio

You need to provide more information about how you’re trying to do this.

1 Like

I have a video calling website , Which works fine on a normal browser , but when i add it in a webviewer , it shows no camera found. i am using the same device

I even tried hosting it on github with all permissions enabled it still shows the same result @tatiang
@domhnallohanlon @jane @muneer
Because this should not be a bug as i am just putting website link into a webviewer

1 Like

Do you need it inside a web viewer or can you use open link instead?

1 Like

i need it in a web viewer as i dont want to share the link

1 Like

Web viewer runs in its own contained environment and has no access to your browser cookies which means if you want to use something to do with external devices then you have to code all permission granting within your code.

1 Like

yes i have done that still it doesnt work
maybe i did it wrong
can you tell how to do?

1 Like

is this how to do ?

<iframe allow="camera; microphone; fullscreen; speaker; display-capture"
1 Like

This is iframe tag. You will use it to run a URL using the src element in the tag.

It really depends on what you want.

1 Like

Yes this so how to code what you were asking for.
I needed this for a video calling wbste

1 Like
<iframe width="100%" height="315" src="https://x.thunkable.com" frameborder="0" allow="accelerometer; autoplay></iframe>
1 Like

Isnt this what i did?
What is the difference @muneer

1 Like

This will give you only a partial screen without any border hence hiding the url, hopefully.

1 Like

oh ok thank you but is this for wbviewer or open link
Because Anyhow if they open a link they can see the address

1 Like

You should use this inside the .html file that you are using for the web viewer.

In this case you can run the web viewer while the size is so small in your screen that no onw can see the address from it.

1 Like

Thank you @muneer So you mean that i should directly add the .html file to the webviewer with this code?

1 Like

Though my problem is that it shows no camera found in the web viewer
Maybe you can try using enablex.io And come up with a solution?

!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body>
    <iframe width="100%" height="300" src="https://x.thunkable.com" frameborder="0" autoplay></iframe>
</body>
</html>

Save this to a file and use the link you want instead of Thunkable.

1 Like

It still doesnt work @muneer this is what i get with the code


Normal website of enablex.io

1 Like

https://3ynihrnjb7v5zcebdgtvag-on.drv.tw/sounds/overturner.html

This is the .html file that I tried.

2 Likes