Home>Support>Help needed with videos in the slider widget

Help needed with videos in the slider widget

Hi

I want to have some very brief videos in the slider: 1-2 second animated title slides. I have them in MP4 format, but the help for the widget says that only YouTube videos can start automatically. I don’t want to upload them to YouTube, and imagine it would be slower including a call to an external site in the page loading time. So I’ve added the short animations as GIFs and they play OK, but the timing is off. Sometimes the slider will move to a new slide, and the animation will already be in its end state. It will then loop back to the beginning and play before advancing to the next slide. This looks pretty glitchy.

The site is https://peckhamrights.org

My question is, how can I get each animation to play just after the slider advances? Is there some way to sync the timing of the GIFs with the slider? Can I force the slider to reload the image on advancing to stop it playing in the background? Or is it possible you’ll be adding the ability to autoplay MP4 any time soon?

Many thanks
Paul Wright

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 16 days, 13 hours ago Alex S Hi, I Work Here

    Hi Paul,

    How can I get each animation to play just after the slider advances? Is there some way to sync the timing of the GIFs with the slider? Can I force the slider to reload the image on advancing to stop it playing in the background?

    Unfortunately, these require a fair amount of custom coding to achieve. JavaScript will need to be used to actively monitor the current playback status and then adjust the slider accordingly. This is beyond the scope of what we can help you with on our forums, but you could hire a developer to implement this for you.

    We recommend using Codeable. You’ll be able to hire someone at an hourly rate to do this work for you.

    Regarding MP4 support, all of our sliders support locally hosted videos and they will autoplay so you’ll be able to use your video. Unfortunately, it’s not possible to sync the timing of the slides with the video playback without custom coding as they’ll continue to play even while not visible. While not ideal, you may get better results by not using a slider.

    Kind regards,
    Alex

Please log in to post on our forums. Signing up is free.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More