Comments (4)
This is now the default behavior for browsers which support window.requestAnimationFrame, as the draw callback is only triggered when the tab is visible.
from gallery.
great thanks
from gallery.
how about using page visibility api ???
from gallery.
It's certainly a useful API, but the implementation of requestAnimationFrame involves much less code and serves the same purpose.
See e.g. http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/
from gallery.
Related Issues (20)
- Vimeo player not working properly on chrome HOT 3
- Feature request: zoom / full size view HOT 3
- Allow videos to autoplay, looped, muted without controls HOT 2
- modal stuck after closing gallery using ESC HOT 2
- How to stop at end - disable auto round to beginning HOT 1
- closeOnSlideClick not work with blueimp-gallery-contain HOT 1
- Feature request: random/shuffle on slideshow HOT 1
- Zol HOT 1
- duplicate images in gallery thumbnails HOT 5
- Display iframe as slide content instead of image HOT 2
- using WebPack HOT 2
- Video keeps playing when sliding to the next video HOT 2
- Running `npm install blueimp-gallery` errors out HOT 1
- vimeo is not working for all browser HOT 1
- Issue with cancel for individual uploads HOT 3
- Vimeo video not working in the Carousel video gallery HOT 2
- Typo bug? HOT 1
- background load when opening image HOT 8
- Can you add a zoom magnification function like Photoswipe has to the carousel? HOT 1
- Problem when the hash in the url on the landing page changes. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gallery.