Fancybox for .flv
<p>Is there a way to manipulate jquery Fancybox plugin to display flash video files (.flv)? I mean making it behave like Malsup's Media plugin that can handle both .swf and .flv</p>

<p><strong>Putting my question in context:</strong></p>

<p>I have a php file that works dynamically to read the videos:</p>

<pre><code> if($ext=="flv"){
    $fileSize = filesize($file);


header("Expires: Mon, 20 Dec 1980 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");

# content headers
            header("Content-Type: application/x-shockwave-flash");
            header("Content-Disposition: attachment; filename=\"" . $path . "\"");
            header("Content-Length: " . $fileSize);

}
readfile("$file");


}
</code></pre>

<p>then my markup is as follows</p>

<pre><code>                                &lt;li&gt;&lt;a class="vids" href="viewThumb.php?type=media&amp;amp;name=&lt;?php echo $row['video']?&gt;"&gt;&lt;img src="viewThumb.php?type=artist&amp;amp;name=a5339732e90416ee1df65dfe83bfba16.jpg" width="200" height="200"&gt;&lt;/a&gt;&lt;/li&gt;
</code></pre>

<p>where $row['video'] is the name returned from an database query.</p>

<p>Now what I want is that when a client clicks on the thumbnail a fancybox  with my video would display. It works well with .swf and other extensions explicitly noted in the fancybox documentation but not with .flv.</p>

<p>Help will be greatly appreciated</p>
