Owlcarousel2: autoplay stop if change tab browser

Created on 28 Dec 2016  路  13Comments  路  Source: OwlCarousel2/OwlCarousel2

Hello, owl stop autoplay if i change browser tab (chrome, firefox...), it start if i click to next slide or drag image! And other problems: if autoplayHoverPause: true, not starting autoplay after hover! thank you

Most helpful comment

I have a live example:

  1. Go to https://owlcarousel2.github.io/OwlCarousel2/demos/autoplay.html
  2. Open a new browser tab, or switch to an existing one
  3. Switch back to original tab with carousel
  4. Autoplay is halted

Tested in Firefox, Chrome, Safari

All 13 comments

I have the same issues, I think these issues weren't available in a previous version (v2.0.0)

Any help??

@filipenco92 I am also facing the same issue. trying to integrate in my project. When i change tab and comeback the carousel does not start. you need to reload the page. Any help ? Has someone found the solution?

i used 2.0.0-beta.3 and work fine from here https://github.com/OwlCarousel2/OwlCarousel2/releases

@filipenco92 is it consider good to use beta versions in production website? as i will be using it for live projects.

I use version 2.2.0.

(Sorry about the canned reply.)

You have not added a link to a working live example.

Please add a link to a page where I can verify this error. You can use a service like jsfiddle, plnkr, jsbin or codepen.

And make sure you're using the latest Owl Version! I will close this issue for now, once you provided a working example you can reopen it.

I do have the same problem with 2.2.0

Still no live example. @aristidesfl

@filipenco92

I have a live example:

  1. Go to https://owlcarousel2.github.io/OwlCarousel2/demos/autoplay.html
  2. Open a new browser tab, or switch to an existing one
  3. Switch back to original tab with carousel
  4. Autoplay is halted

Tested in Firefox, Chrome, Safari

Working example is provided, so i think issue should be reopen now. @pascalporedda

Any update on this issue ?

Any news? It's still not working properly ...
Or does anybody found a workaround in the meanwhile?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jhig85 picture jhig85  路  3Comments

Dipak-Chandran picture Dipak-Chandran  路  3Comments

SoufianeAbid picture SoufianeAbid  路  3Comments

mkraha picture mkraha  路  4Comments

stratboy picture stratboy  路  3Comments