Jump to content

iFrame ebbed sized wrong

Recommended Posts

Posted

Site URL: https://www.st-monica.org/live

I am trying to embed a video archive on a page (st-monica.org/live - it is the second player on the page, so scroll down to view). 

The embed is not resizing properly. It ends up being 100px high  The code I'm using is:

<style>
        .embed-container iframe,
        .embed-container object,
        .embed-container embed {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    </style>
    <div class="embed-container">
        <iframe style="border:none;margin: 0;"
                src="https://cache.stl.churchcasting.io/PSxZDetTdu0lEsHXbyFj3PnJwIAFq7db/channels/1/embeds/players/CuNTnZUwf1HcEMDK/render"
                allowfullscreen="yes"
                allowtransparency="yes"
                allow="autoplay"
                name=""
                id="">
        </iframe>
    </div>

Any advice?

  • Replies 1
  • Views 300
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.