0

I am trying to make Youtube videos on this webpage( http://medicalfutures.co.uk.s156312.gridserver.com/2011.php) load using Fancybox but every time I press the link, nothing happens and in my error console on Chrome I get the message "Uncaught TypeError: Cannot read property 'href' of undefined"

Any ideas?

EDIT:

The video link is quite near the top of the page ("Watch the video here")

jshjohnson
  • 157
  • 4
  • 16
  • First thing, try upgrading your fancybox js (from your current v2.0.3 to 2.1.3) and css files that seem to be outdated (your fancybox css file is actually for a v1.3.x) ... then will see – JFK Nov 13 '12 at 22:13
  • You may wish to check out this answer http://stackoverflow.com/questions/2542252/open-youtube-video-in-fancybox-jquery Good luck! – Geppettvs D'Constanzo Nov 13 '12 at 23:28
  • I looked at that link and tried the code but it did the same thing :/ – jshjohnson Nov 14 '12 at 16:14

1 Answers1

0

Ahhh the problem was the YouTube link - I had an embedded link which doesn't work

jshjohnson
  • 157
  • 4
  • 16