[Resolved] Trying to DISABLE autoplay on Vimeo videos
Hi, I am using this plugin on my website and it seems to work great except for the autoplay…I’ve read through a lot of the other questions in here but no one seems to have the same problem I’m having.
I have a video hosted on Vimeo.com that I want to link to from an image thumbnail on my homepage. While the image thumbnail and modal window seem to work fine, the problem I’m running into is that the video itself starts playing when the page is loaded, rather than when the modal link is clicked. In other words, the audio of the video begins to play as soon as you visit the page which doesn’t make sense since you can’t actually see the video until you click on the thumbnail.
I tried adding
'&autoplay=0'to my shortcode as other indicated that setting this to 1 would ENABLE autoplay but my goal is to DISABLE it.
I checked the plugin settings page and made sure that the “autoplay” box is UNCHECKED. I also tried setting
autoplay:falsein the video-lightbox.js file but this didn’t seem to solve the problem either. I’ve checked the embed settings for my Vimeo video and it appears as though the only way to control this is via the URL by appending
'&autoplay=0'to the video ID like I have already tried doing.
Here’s my shortcode:
[video_lightbox_vimeo5 video_id="123456789&autoplay=0" width="960" height="541" anchor="my thumbnail image url"]
Can anyone please help me? I don’t want the video to start playing when the page loads, I only want it to start playing when they actually open the modal window that contains it.
- The topic ‘[Resolved] Trying to DISABLE autoplay on Vimeo videos’ is closed to new replies.