Autoplay in lightbox using Vimeo
See original GitHub issueHi, 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:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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).
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. 😃