Fancybox Youtube issue

TaurlEnlalp

New Member
Having real issues using Fancy box to display my YouTube videos. I've followed the instructions from:http://fancyapps.com/fancybox/Rather than displaying my youtube video in a pop-out window on my website as it's supposed to, it just takes me direct to YouTube instead.Can anyone help?JavaScript/Fancybox: \[code\]<script type="text/javascript" src="http://stackoverflow.com/questions/15823171/Fancybox/source/jquery.fancybox.pack.js"></script><script type="text/javascript" src="http://stackoverflow.com/questions/15823171/Fancybox/lib/jquery.mousewheel-3.0.6.pack.js</script><link rel="stylesheet" href="http://stackoverflow.com/questions/15823171/Fancybox/source/jquery.fancybox.css" type="text/css"media="screen" /><script type="text/javascript"> $(document).ready(function() { $(".info").fancybox({ openEffect : 'elastic', closeEffect : 'fade', helpers : { media : {} }});});</script>\[/code\]HTML:\[code\] <div class="view view-first"> <img src="http://www.intelligenthq.com/wp-content/uploads/2012/01/capital-markets1-360x194.jpg" /> <div class="mask"> <h2>Title</h2> <p>Your Text</p> <a href="http://www.youtube.com/watch?v=92c3dX-AoXs" class="info">Play</a> </div> </div>\[/code\]
 
Back
Top