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
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

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.