Autoplay and resizing browser while sliding stops play?
See original GitHub issueThe Swiper at http://plplondon.com/ is set up to autoplay: 5000, you can resize the browser when slides are static and it works fine, slides the next slide in on time.
However, resize the browser while slides are moving and the slide jumps to it’s final position and the autoplay seems to stop.
Is this correct? I can’t restart them manually by setting:
<body onresize="mySwiper.reInit();mySwiper.resizeFix();mySwiper.startAutoplay()">
Issue Analytics
- State:
- Created 10 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Autoplay and resizing browser while sliding stops play? #574
However, resize the browser while slides are moving and the slide jumps to it's final position and the autoplay seems to stop.
Read more >My swiper with Swiper.js stop autoplay after slide it with finger ...
While this is my initial swiper, and when I drag it with mouse or touch it with finger and then slided it, my...
Read more >Captivate responsive courses will not auto-play on browsers
While SWF videos will continue to auto-play, HTML5 and other responsive courses will not auto-play. Auto Play option.
Read more >Google Slides Audio and Video and Autoplay - YouTube
Learn to add audio and video files to your Google Slides and find the settings for autoplay for your ... Your browser can't...
Read more >Video issues (autoplay not working, video player looks different)
This problem can happen, when at the slider autoplay the Stop on media option is turned on, and you enabled the Loop at...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep, it looks like the issue is back, any idea how to restart the swiper after a resize event?
Tried something in those lines without success…
This bug seems to happen again. I have a Swiper similar to this fiddle on a page: https://jsfiddle.net/u4oezjnz/1/
Whenever I resize the browser a lot, or if I switch to or from the responsive view mode in FireFox for example, the Swiper just stops autoplaying, with no possibility of resuming.
In the fiddle, just switch to the responsive view mode in FireFox for example to reproduce the problem.