Jump to content

Make iframe automatically fit screen

Recommended Posts

Site URL: https://www.hoeht-studio.com/nice-to-meet-you

Hi,

I added an embed code in custom css: <iframe src="https://mywebar.com/p/Project_0_2333tftzuh" width="100%" height="670" allow="camera; accelerometer; vr" > Your browser does not support embedded content </iframe>

 

This opens the camera on phones and tablets and such to scan and see a Web ar. On my phone the camera fills the whole screen however is I use my tablet or another phone the height does not fill the screen if I put 100% instead of 670 it does fill the screen.

How can I make it so that the camera fits every screen the url is opened on?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.