Forum Moderators: open

Message Too Old, No Replies

.HTM file does not play embedded .SWF file in FireFox

Works in IE perfect

         

Bowdii

3:01 pm on Jun 26, 2006 (gmt 0)

10+ Year Member



This question could be posted in multiply forums but I thought since it has to do with .html and cross browsers I would start here.

I have a few pages with .swf movie files embedded in the .HTML. If I re-save the page as the extention .HTML the file works fine in FireFox. But with it as .HTM when you click the link, the Save As box comes up. Even when you save the file to your computer; it still does not work...

I could easily go through and just re-save the pages but I'm sure I'll miss some... There are probably 1000 with this and landing pages as well....

Thanks for any help,

Jeff

choster

5:10 pm on Jun 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It doesn't sound like the problem has anything to do with Flash, but rather that your web server recognizes .html files as web pages but not .htm files. It's unusual that .htm would not be set properly, but it does match the behavior you describe.

If the web server does not indicate the MIME type, or says that it is unknown, Internet Explorer on Windows tries to guess the type based on the first few bytes of the document, whereas Firefox forces you to save the page. The former is arguably more user-friendly, but the latter is definitely more secure.

Check with your server administrator to see if the MIME type for .htm is set to text/html, or if you use Apache, add the line

AddType text/html .html .htm

to the .htaccess file in your web root directory.

monkeythumpa

6:52 pm on Jun 26, 2006 (gmt 0)

10+ Year Member



Do you have an "embed" tag as well as an "object" tag in your code? I forget which talks to which browser but if you don't have one it will only work in one browser.

Bowdii

1:05 pm on Jun 27, 2006 (gmt 0)

10+ Year Member



choster - You da man! That was it!

Thanks!