Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #688824

    SpookyCat
    Participant

    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?

    #689235

    Jade
    Moderator

    Hi @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 / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #689276

    SpookyCat
    Participant
    This reply has been marked as private.
    #689626

    Friech
    Moderator

    Hi 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!

    #690077

    SpookyCat
    Participant
    This reply has been marked as private.
    #690416

    Jade
    Moderator

    Hi 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.

    #690447

    SpookyCat
    Participant

    Not 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.

    #691028

    Jade
    Moderator

    Hi 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?

    #691055

    SpookyCat
    Participant

    It 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/W2pvu1Ip444

    #691625

    Jack
    Keymaster

    Hi 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!

    #691647

    SpookyCat
    Participant

    Thanks 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?

    #691648

    SpookyCat
    Participant

    Arr it seems the option below it makes it work.

    #691832

    Zeshan
    Member

    Glad it worked for you. 🙂 Have a nice day!

    #820424

    ThinkNoodle
    Participant

    I had the exact same issue, thanks to SpookyCat for posting the fix.
    General Settings > Misc > Disable blur / focus behaviour set to ‘on’

    #820803

    Darshana
    Moderator

    Glad it worked for you 🙂