SWF Aditional Images Popup Issue

Version 2.1.1



I have just noticed that the lightbox effect popup window used on the product pages works all well and good however it does not render any upload flash files - i have looked at the JS in relation to this and found it only does images:



js/previewer.js


<br />
var img_id = jQuery.crc32(url);<br />
		if (!img_preloader[img_id]) {<br />
			img_preloader[img_id] = $('<img id="previewer_image" src="' + url + '" alt="' + (thumb_action ? unescape(caption) : caption) + '"/>').load(function() {<br />
				$(this).unbind('load');<br />
				fn_build_previewer($(this));<br />
			});<br />
			if (jQuery.browser.opera) {<br />
				fn_build_previewer(img_preloader[img_id]);<br />
			}<br />
		} else {<br />
			fn_build_previewer(img_preloader[img_id]);<br />
		}<br />

```<br />
<br />
Anyone know if jQuery can handle flash detection or a method thats already floating around so if an extension is *.swf that it will send the flash embed code rather than just a basic IMG<br />
<br />
Any help would be great, as dont really want to have to change the lightbox if i dont need to :)