Video Lightbox Loop Video (mp4)

I have a video in a video lightbox i’d like to loop. Is this possible?

The current code is:

[button class=“btn-lightbox” href=“https://sandlivemusic.com/wp-content/uploads/2019/12/SAND-TRAILER-MIX_1.mp4” title=“DEMO (HTML5)” lightbox_video=“true” shape=“square” size=“x-large” float=“none” block=“true”][icon type=“play-circle”]DEMO (HTML5)[lightbox selector=".btn-lightbox" prev_scale=“0.75” prev_opacity=“0” next_scale=“0.75” next_opacity=“0” thumbnails=“true”][/button]

I’ve tried adding loop=“true” to the code in various places, with no joy.

Website is here:

Cheers

Dave

Hi Dave,

Button lightbox doesn’t have that option.

There’s a way to achieve that though using the V2 elements. Please try the following:

1.) Create a GLOBAL BLOCK. Add 1 section. Reset this sections’ padding to zero. Inside this section, add VIDEO element. Under Control Setup of this video element, enable LOOP option.

2.) For the lightbox, we will use CONTENT AREA MODAL element. The toggle of this element is flexible. You can turn off the GRAPHIC and turn on TEXT option. Adjust the way it looks to make it look like a button. Inside MODAL CONTENT, add the shorcode of the GLOBAL BLOCK.

See this: https://screencast-o-matic.com/watch/cqlq1JvXIG

Hope this helps.

Wow!
What a fantastic reply, love the screencast. That’s exactly what I wanted to achieve.
Thank you.
Dave

Hey Dave,

You’re welcome!
We’re glad @Lely were able to help you out.

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.