Howdy,
We rebuilt three video sliders in Advanced Layer Slider because we found that Easy Slider wasn’t as stable.
The issue we’re having is that, despite the fact that the slide duration is set for 6 seconds and the video length is 7 seconds, the videos restart at about 4 seconds.
Any ideas?
Hey raisonbrands,
What browser and OS are you using?
I checked it with Chrome and Windows 10 and timed it and it’s exactly 6 seconds.
Best regards,
Nikko
Hi Nikko,
Chrome and FF, windows 10, also Chrome on Mac (not sure about the OS).
The total length of play per slide is definitely 6 seconds, the problem is the videos themselves restart after 4 seconds, rather than playing the video for the full 6 seconds of time.
It is especially pronounced on the second video (doctor with labcoat).
Hi raisonbrands,
We apologize for the late response.
I have made changes on your layerslider which you should see on the slider test page (link in private content)
I adjusted the slider timing for each slide which is 500ms lower than the actual duration of the video and have added muted value on the video tag (for each slide).
I checked it on with chrome, firefox on both mac and chrome and it does work well and no glitches (the os I’m referring is if it’s on win10, mac, etc) :)
Best regards,
Nikko
No worries and thank you Nikko.
Good catch on the muted value, where can I find that–sure we’ll have other background videos in the future and now it’s necessary for autoplay in Chrome.
Thanks again!
Hi raisonbrands,
Glad to hear that!
You should find it in the Video Background layer in your layerslider.
The code looks like this:
<video width="640" height="360" preload="metadata" controls muted>
I just added the muted attribute after controls :)
Best regards,
Nikko