Jump to content

Add Custom image to iframe

Recommended Posts

I'd like to add a custom image/thumbnail to an iframe video.

The iframe code provided:

<iframe width='853' height='480' src='https://my.matterport.com/show/?m=eZhe3uJuB57' frameborder='0' allowfullscreen allow='xr-spatial-tracking'></iframe>

Tried making some adjustments with a placeholder image, but I don't have it right yet:

<center>
<iframe width='853' height='480' src='https://my.matterport.com/show/?m=eZhe3uJuB57' poster='https://images.squarespace-cdn.com/content/5d71d79f8c38e20001de9c85/1578286628130-Q47BR9LBHDHGJKSFM4CG/RPM+Gallery+Renderings+3020+A.jpg?content-type=image%2Fjpeg' frameborder='0' allowfullscreen allow='xr-spatial-tracking'>
</iframe>
</center>

 

Any help is appreciated

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You want to make a background image behind iframe or? Can you share link to page where you added iframe? We can test code easier (I intend to test CSS background-image or CSS pseudo)

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.