Expected feature on carousel- > Pause the slide when hover over or provide an option to pause the slide. (we are using the Auto play property, but it should pause when we are viewing the current slide) > Do not move the slide to next if we a video is playing on the video banner. (Autoplay feature does not pause it when video is being played)
1 risposta
That’s not built into the current Salesforce Labs Carousel, since it’s a pretty basic LWC. You’d need to tweak the component code to add a hover listener or check the video’s play state before advancing. Since it’s a Labs app, you can grab the source from the repo and customize it to your needs: https://github.com/SalesforceLabs/LightningCarousel.