Allofthelights.js is a jQuery plugin to turn off the light and enjoy your videos, try it !
http://www.megaptery.com/allofthelights/ - Pierre VION
- Multiple videos iframe
- Responsive video
- Support of lot of players
- Switch button entirely customizable
- Lightweight (3.4Ko minified)
- Callback functions
- Control animation speed
- Custom background (color, opacity)
- Modern browsers support
- Requires jQuery 1.7+
- Chrome
- Firefox
- Opera
- Safari
- IE9+
Defines the background color.
Defines the background opacity.
Defines the background z-index.
Defines the switch button CSS id or class.
Defines animation time to turn on the light.
Defines animation time to turn off the light.
Allows disable scrolling when the light is on if value is false.
Enables responsive video.
Allows to apply responsive on a custom player. Specify your video vendor selector. Only available when is_responsive = true
.
Callback function when the light goes on.
Callback function when the light goes off.