Skip to content

Instantly share code, notes, and snippets.

@malachi358
Created June 2, 2016 14:15
Show Gist options
  • Save malachi358/1e7b2427ff15084f25eb8ac58c03d650 to your computer and use it in GitHub Desktop.
Save malachi358/1e7b2427ff15084f25eb8ac58c03d650 to your computer and use it in GitHub Desktop.
Nivo - Lighbox play vimeo autoplay
$('.TESTER123').nivoLightbox({
afterShowLightbox: function(){
var src = $('.nivo-lightbox-content > iframe').attr('src');
$('.nivo-lightbox-content > iframe').attr('src', src + '?autoplay=1');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment