-
AuthorPosts
-
December 2, 2015 at 1:20 pm #688824
I have a Rev Slider working on our site and it loops the animation just fine as long as the browser window has the focus, but if you click another window the animation of the slider plays to the end but does not restart. How do I stop that?
December 2, 2015 at 5:53 pm #689235Hi @spookycat,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
December 2, 2015 at 6:20 pm #689276This reply has been marked as private.December 2, 2015 at 11:07 pm #689626Hi There,
Thanks for the credentials, but it does not work. Please confirm. In the meantime can test it on other browsers? And see if the issue remains.
Cheers!
December 3, 2015 at 6:06 am #690077This reply has been marked as private.December 3, 2015 at 10:28 am #690416Hi there,
Thanks for that. I have tried loading the slider in the homepage and when I click on to another tab, the slider still rotates back to the first animation correctly. Would you mind trying to clear your browser cache and see if it solves the problem?
Please let us know how it goes.
December 3, 2015 at 10:43 am #690447Not clicking another tab but another window. Clicking another tab in the browser is not going to cause a loss of focus on the browser window. Clearing the cache has no effect, the animation still does not loop when the focus is moved to another window.
December 3, 2015 at 5:10 pm #691028Hi there,
I can’t seem to replicate the issue. I have tried loading page and then switching to another window and the slider still rotates normally. See screencast attached. Would you mind clarifying more how do you get the issue to show?
December 3, 2015 at 5:37 pm #691055It works there because you are giving the focus back to the browser window which causes the animation to start again, if you have the browser window open and another program to the side and just click on the other window and do not click back on the browser you will see the animation does not loop. I did a video that clearly shows the problem, the first time through the animation the browser window has the focus so the animation loops, the next time the focus is moved to the other window and the animation ends up as white as it does not start again, if you click back on the browser window the animation starts again.
Video link https://youtu.be/W2pvu1Ip444December 4, 2015 at 4:10 am #691625Hi there,
Thanks for writing back!
I’ve been looking into this for you and it appears to be expected behaviour when you aren’t focused on the browser tab, if you look at revslider/public/assets/js/source/jquery.themepunch.revolution.js line 2462 and onwards. You will see that if you aren’t focused on the browser tab/window, the revslider will stop playing and will resume again when it’s focused.
Try setting “Next slide on focus” to off, in your revslider slider settings.
Thank you!
December 4, 2015 at 4:25 am #691647Thanks for looking but that setting made no difference. I can’t imagine that for animations to stop like this is the desired behaviour for anyone, can that be submitted as a bug/feature request to the Rev Slider people?
December 4, 2015 at 4:27 am #691648Arr it seems the option below it makes it work.
December 4, 2015 at 7:50 am #691832Glad it worked for you. 🙂 Have a nice day!
March 2, 2016 at 11:06 am #820424I had the exact same issue, thanks to SpookyCat for posting the fix.
General Settings > Misc > Disable blur / focus behaviour set to ‘on’March 2, 2016 at 2:49 pm #820803Glad it worked for you 🙂
-
AuthorPosts