I use the following to add in a post a YouTube thumbnail and display the video in a fancybox:
<div><a class="fancybox" href="#video2">
<img src="http://img.youtube.com/vi/dm36W5NTPag/0.jpg" alt="Welcome To High Output" width="220px" height="120px" /></a></div>
<div id="video2" style="display: none;">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="480" height="390" src="http://www.youtube.com/embed/dm36W5NTPag" frameborder="0"
allowFullScreen></iframe></div>
Basically the shortcode must have one fields to enter the ID of the video in the thumbnail, the link to the video, the link of the first div, and the id of the second div.
http://img.youtube.com/vi/(HERE)/0.jpg
and http://img.youtube.com/vi/(HERE)/0.jpg
<a class="fancybox" href="#(HERE)">
and <div id="(HERE)" style="display: none;">
So the shortcode should look like:
[youtube VIDEO ID:(Enter ID)]
Does anybody know how to do this?