Closed Bug 296148 Opened 20 years ago Closed 20 years ago

swf file does not load (and can not be viewed) in the page, instead it is downloaded

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: ozzy, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

When clicking on a flash .swf file, instead of loading and playing the flash in
the browser window, you are prompted to download the file. Once its downloaded
the browser tries to play it from the local file which of course it can not
because the flash file is looking for data that is on the website only. 
When viewing this URL with IE, another window opens and the flash file is played
in IE directly off the web server. 

Reproducible: Always

Steps to Reproduce:
1.go to http://www.ecser.net/clips/main.swf
2.
3.

Actual Results:  
prompted to download and subsequently failure to properly view the flash.

Expected Results:  
viewing flash in the browser window and having data pulled off the webserver.
Content-Type: text/plain

Looks like a server problem to me. It should be sending
application/x-shockwave-flash, not text/plain. And since firefox sees raw binary
data when trying to read it as a text, it's lets the user decide what to do with it.

This is INVALID.
So what is the fix?
If you want to view a .swf file in Firefox it has to be embedded in the HTML
page, or else you will see the result your describing.
the server sends the wrong mime-type -> invalid

Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
this is becase IE makes its own idea of what the MIME is by the extension

unlike FF that expects the server admin to know whats on his server
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.