Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
33 Views

Why isn't this Iframe with WebRTC Working?

Hi guys! I'm developing a WebRTC app.

I'd like to simply Iframe to my server. This works perfectly on the desktop version of the app.

However, the mobile doesn't work.

Can you please try adding this to your project to get it working? What am I missing?

<iframe src="https://jitsi.skyrooms.io/" width="100%" height="800px"></iframe>

Tags (2)
0 Kudos
1 Reply
Highlighted
33 Views

You are building a Cordova app, which is not part of a web server nor is the code being executed from withing the trust domain of a specific server (because the pages are not being "served" by a trusted server), your code is being read and executed from file:/// on the device. What you are trying to do is generally not recommended as the way to build a Cordova app (see https://cordova.apache.org/docs/en/latest/guide/next/).

If you want to open a window into the builtin browser on the mobile device, try using the inAppBrowser plugin, rather than an iframe. See the docs here > https://github.com/apache/cordova-plugin-inappbrowser <

0 Kudos