The link below has 3x background videos that are set to restart whenever they scroll into view (via custom footer code) which can sometimes be handy. I would like the ability however to have some videos do this, and some still behave as normal (just play constantly and loop regardless of scroll position).
So let’s say videos RED & BLUE should restart on scroll into view, and GREEN should just play and loop.
Any clever folk out there that can tell me how I can target the classes of the individual videos to achieve this?
Did you figure this out? I have 3 sliders, each with a background video. I am trying to restart each video on slide change. Any ideas or your custom footer code might help if you can share it.
I’m afraid not Sir. No one posted any thoughts on this one.
Below is the custom footer code. This targets the video element and is therefore global so restarts any background video when scrolled out of view and back in again.