WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here is what i'm having problems with... I want to link a youtube video to start playing in a lightbox/fancybox when a person clicks an image. Kind of like this site has - http://www.adroll.com/ - if you click the "Click to Play" (which is an image) a window will open (although not lightbox/fancybox) and video will start autoplaying.

Would preferably want to do it with the least possible programing needed. I can do some basic editing but don't really know how to write any PHP/javascript

share|improve this question
up vote 1 down vote accepted

Follow Tip #4: http://fancybox.net/blog. or

I use Easy FancyBox for my wordpress sites. In the WP Admin, under Settings > Media you can edit the settings for Fancybox and it has a way to autodetect Youtube embeds.

share|improve this answer
Awesome, the plugin makes it super-easy :) Thanks for that – Tilen Krivec May 3 '11 at 21:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.