开发者

php download does not embed swf

开发者 https://www.devze.com 2023-02-19 18:45 出处:网络
I have a PHP file that sends SWF flash for client , the flash downloads but does not embed in the HTML .

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号