[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] re: flash mime type and apache



On Tue, 10 Jul 2001 16:42:15 -0400, Kevin D wrote:
>>I just added this line to my mime.types file in
>>/etc/httpd/conf/mime.types
>>application/x-shockwave-flash      swf
>>But my flash files still won't play. When I visit the flash file
>>directly
>>(mysite.com/flashfile.swf) What gives?

Kevin,
You've told your server how to play the .swf file, but have you told 
your local computer that you're using to access the file?
I'm no expert, but I do create flash files (with a different program 
than flash) and I generate an html page to go along with them that 
gives the browser the parameters on how to play the files...

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
	codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#versio
n=4,0,0,0"
	ID=panorama WIDTH=430 HEIGHT=360>
	<PARAM NAME=movie VALUE="panorama.swf">
	<PARAM NAME=quality VALUE=high>
	<PARAM NAME=bgcolor VALUE=#FFFFFF>
	<EMBED src="panorama.swf" quality=high bgcolor=#FFFFFF
		WIDTH=430 HEIGHT=360 TYPE="application/x-shockwave-flash"
		P
LUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_
Prod_Version=ShockwaveFlash">
	</EMBED>
</OBJECT>

With that, they play just fine and dandy - no changes to the srm.conf 
needed. (remember that the above is wrapped at 70 characters or so 
and may look a bit funky)

HTH...


-- 
Carrie Bartkowiak, ravencarrie@xxxxxxxx on 07/11/2001