question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Autoplay in lightbox using Vimeo

See original GitHub issue

Hi, first of all thank you for the tool.

Using afterglow and a Vimeo ID with the following code:

<a class="afterglow" href="#js-preview">See preview</a>
<video id="js-preview" data-vimeo-id="10000" width="960" height="540" autoplay></video>

I have to press the play button event in the lightbox.

Is this working as intended or am I missing something? How can I start the video automatically?

Thank you.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
moaycommented, Oct 30, 2018

If you like, you can try a first alpha build of v2: https://github.com/moay/afterglow/blob/2a945562ea799401f0a05f86ce022f543a16f8ed/dist/afterglow.min.js

There are some missing features, it is not tested yet and browser support is not guaranteed, but vimeo lightbox should work with autoplay. Just saw that the lightbox controls don’t show yet for vimeo, but maybe you can live with this until the final version (or one of the next alphas).

1reaction
moaycommented, Oct 29, 2018

Just played around with this a bit, can’t get it to trigger play either. Sorry for that.

ETA is “probably soon”. It’s a complete rewrite, so there is some work to do. I’ve already changed the entire base engine and reenabled all major features, but it’ll take some days or weeks, I guess. I’ll give my best to make it soon. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vimeo auto play when lightbox is open - Forum | Webflow
Hi all, Does anyone know how to make vimeo video auto play when lightbox is open? I tried to add ?autoplay=1 at the...
Read more >
Autoplay and loop embedded videos – Help Center - Vimeo
If you'd like your embedded video to autoplay or loop, go to the video's page on vimeo.com and click the "Share" button in...
Read more >
wordpress - How to make video autoplay in a lightbox like on ...
I try to add ?autoplay=1&loop=1&autopause=0 to Vimeo videos but it doesn't work. I'm making a website on a Wordpress using Elementor ...
Read more >
Autoplay Vimeo Video in Lightbox on iOS & Open in ... - Kriesi.at
I am using the lightbox to play Vimeo videos which is working great. On mobile, the videos do not begin playing automatically when...
Read more >
Autoplay vimeo vid in lightbox - YOOtheme Support
Autoplay vimeo vid in lightbox. Hi any ideas how i can autoplay this video when the lightbox opens? <div class="uk-margin uk-text-center"> ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found