Get new jQuery plugins just once a week

×

AlloftheLights-js

FavoriteLoadingAdd to favorites

September 15, 2012

Allofthelights-js | jQuery plugin to turn off lights & enjoy video

Allofthelights-js is a jQuery plugin that allows to switch off the light, for your videos to stand out.Alloffthelights.js calculates the video’s offset and creates four div in position:absolute wrapped around it. The offset is recalculated when the light is turned on or the window resized.In the demo page, Give it a try by clicking the switch next to the video.
Its main features are :-

Sample Code
$("#video").allofthelights({
'opacity': '0.7',
'delay_turn_on': '3000',
'clickable_bg': true,
'custom_player': "iframe[src^='http://mycoolvideosite.com'], iframe[src^='http://myviiids.com']"
});

Created by Pierre Vion

Download

Example

allofthelights-js

Turn Off the lights and enjoy the video

AlloftheLights-js

Related posts:

Video-js
prettyEmbed-js
EasyAudioEffects
allofthelights-js

http://jquer.in/wp-content/uploads/2012/09/allofthelights-js.png

jQuery plugin

Sign up for our weekly newsletter.

* We won't spam you ever