title: how to use lightbox2 to show video in my page
body: <p>First of all my site does not use Drupal.So any alternatives for a popup video player funcionality would be appreciated.<br></p>
  
  <p>I want to show a popup you tube video player in my web page.I downloaded lighbox from the
  following link: <a href="http://ftp.drupal.org/files/projects/lightbox2-6.x-1.11.zip" rel="nofollow"><a href="http://ftp.drupal.org/files/projects/lightbox2-6.x-1.11.zip" rel="nofollow">http://ftp.drupal.org/files/projects/lightbox2-6.x-1.11.zip</a></a><br></p>
  
  <p>I extracted the zip file into my sites root<br></p>
  
  <p>I added the following lines in my page header:</p>
  
  <pre><code>&lt;link type="text/css" rel="stylesheet" media="all" href="/lightbox2/css/lightbox.css?1" /&gt;
  
  &lt;script type="text/javascript" src="/lightbox2/js/auto_image_handling.js?1"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/lightbox2/js/lightbox_video.js?1"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/lightbox2/js/lightbox.js?1"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and the following in the body:</p>
  
  <pre><code>&lt;a href="http://www.youtube.com/watch?v=0gBtF_awV2o" rel=lightvideo[width:500px;height:400px;]&gt;
      &lt;img src="sample" alt="Live TV"&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>But the video opens up in a new tab and not as a popup.Where am i going wrong?I cant find tutorials for this anywhere, although i have this kind of code in many other pages with popup videos.</p>
  
  <p><em>Edit:</em> Used shadowbox. Opens up youtube page instead of popup!<br></p>
  
  <p><em>Edit:</em> Problem solved! Got Shadowbox to work. It's brilliant and easy. The commercial licence costs $20 though. </p>