Jump to content

Vimeo videos creating massive vertical spacing beneath

Recommended Posts

It's been a couple years since I embedded Vimeo videos with auto-play and no controls on my site. I just came back to it and every place there are Vimeo videos with my embed script there is vertical spacing beneath the videos that are about the same size of the videos themselves. How do I remove this spacing? 

<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/299572076?background=1" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>
Link to comment
  • Replies 1
  • Views 220
  • 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.