I am reading the documentation:
http://fancyapps.com/fancybox/#docs
and $ .fancybox.open ([group], [options]) and the open explanation is good, but I wonder if I can use the youtube video link in the groups array? I am trying to play a youtube video after dom is ready, for example:
http://jsfiddle.net/STgGM/
$.fancybox.open([ { href : 'http://fancyapps.com/fancybox/demo/1_b.jpg', title : '1st title' }, { href : 'http://fancyapps.com/fancybox/demo/2_b.jpg', title : '2nd title' } ], { padding : 0 });
I can make my video appear in fancybox, which is great, but I want it to appear after the page loads automatically, without having to click on the link, for example, fancybox in the jsfiddle example above with .open.
Thanks for your help in advance.
source share