php download does not embed swf
I have a PHP file that sends SWF flash for client , the flash downloads but does not embed in the HTML .
Any su开发者_开发问答ggestions ?
Thanks
Edit :
a normal flash file (x.swf) is embeded into the browser normally , but the downloaded one using the php file (download.php?id=1) initiates a download and does not embed and is not corrupted , i think it is a headers problem , what is the MIME type for swf ??? can't find it !
Download headers were sent or MIME type is not recognized by the browser, maybe flash player is not installed. Posting code would explain everything.
Try SWFObject, it is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file. http://code.google.com/p/swfobject/
精彩评论