Created
June 2, 2016 14:15
-
-
Save malachi358/1e7b2427ff15084f25eb8ac58c03d650 to your computer and use it in GitHub Desktop.
Nivo - Lighbox play vimeo autoplay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.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