Jump to content

Auto Video Play Code suddenly broken

Recommended Posts

Does anyone have experience with getting video to auto play on a Mercer template?

I had my video in a Gallery and used a custom code (see below) which had worked fine for many many months.  However, now it doesn't work. I've not changed anything in the code nor on the backend at vimeo. 

Has anyone else had issues with this as well?

<div style="padding:66.67% 0 0 0;position:relative;"><iframe allow="autoplay; fullscreen; picture-in-picture" allowfullscreen src="https://player.vimeo.com/video/510503256?muted=1&amp;autoplay=1&amp;loop=1&amp;title=0&amp;autopause=0&amp;byline=0&amp;portrait=0&amp;wmode=opaque" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0"></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>

Edited by Jeffvvv
Link to comment
  • Replies 1
  • Views 260
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

On 11/3/2021 at 7:11 AM, Jeffvvv said:

Does anyone have experience with getting video to auto play on a Mercer template?

I had my video in a Gallery and used a custom code (see below) which had worked fine for many many months.  However, now it doesn't work. I've not changed anything in the code nor on the backend at vimeo. 

Has anyone else had issues with this as well?

<div style="padding:66.67% 0 0 0;position:relative;"><iframe allow="autoplay; fullscreen; picture-in-picture" allowfullscreen src="https://player.vimeo.com/video/510503256?muted=1&amp;autoplay=1&amp;loop=1&amp;title=0&amp;autopause=0&amp;byline=0&amp;portrait=0&amp;wmode=opaque" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0"></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>

Can you share site with the protected password to check you issue together?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.