Created
August 31, 2012 09:45
-
-
Save ronan-gloo/3550934 to your computer and use it in GitHub Desktop.
Fancybox html5 video iframe fullscreen
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
$('.fancybox').fancybox({ | |
afterLoad: function(e) { | |
$(e.inner).find('iframe').attr({ | |
'webkitallowfullscreen': true, | |
'mozallowfullscreen': true | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment