Djako Carey
unread,Nov 11, 2012, 11:23:56 PM11/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fanc...@googlegroups.com
Hi there.
I'm wondering if anybody knows how to enable fullscreen playback of youtube videos with fancybox using type: iframe (not swf)?
Whenever i select the fullscreen box it simply grays out and the youtube videos stays the same size i specified in the javascript.
Here is my current setup:
$(document).ready(function () {
$('.fancybox-media').click(function () {
$.fancybox({
'padding': 10,
'transitionIn': 'none',
'transitionOut': 'none',
'width': 980,
'height': 650,
'href': this.href.replace(new RegExp('watch\\?v=', 'i'), 'v/') + '?rel=0&autohide=1&modestbranding=1&autoplay=1&showinfo=1&hd=1',
'type': 'iframe'
});
return false;
});
});
Thanks heaps for your help.