I am trying to load a video into shadowbox. I think I may need to add player=flv; to the rel tag to force it to play the file instead of sending it to quicktime player. Where in this script can I put that?

Here is the code that I put into my footer.js file

$(".ngg-gallery-thumbnail a").each(function (arr){
if ($(this).attr("title").substr(0,5)=="Video"){
var thereltag = $(this).attr("rel").substr(0,22);
$(this).attr("rel", thereltag + ";width=512;height=348");
var thesrctag = $(this).children("img").attr("src");
$(this).children("img").attr("src", "/wp-content/gallery/film.php?path=" + thesrctag);

Or if you have any other ideas about how I could get shadowbox to play the flv, its at http://fancyfreesites.com/wordpress/?page_id=2