Forum Moderators: phranque

Message Too Old, No Replies

Apache newbie - can't load flash files

         

blk00xjc

6:02 pm on Mar 5, 2005 (gmt 0)



I am "renting" a dedicated server as of Wednesday and have set up our new site using Ensim Pro. I am trying out some things on the new server and am running into a problem. When I go to my new site's IP address my index.html can not load the flash file that is embedded in it. My hosting service said "it should work out of the box" and left it at that.

Please help.

dnps

4:08 pm on Mar 9, 2005 (gmt 0)

10+ Year Member



I'm not sure exactly why your flash won't load.
Try typing the full url to your flash file in to your browser.
such as this [127.0.0.1...]
use the url from your HTML, that way you can ensure that everething is spelled correctly.

if the browser finds the file it should open it

Blue_Wizard

11:35 pm on Mar 9, 2005 (gmt 0)

10+ Year Member



If your server has streaming disabled the flash may not appear right away.

also the server mime types may not be configured

this is the mime type for flash
AddType application/x-shockwave-flash swf (in the htaccess file)
or
embed type="application/x-shockwave-flash (in the html)
it can appear either in the code for the emeded flash object in the actual html or you can drop it in your htacess file

here's a sample of how it may look in the embeded code for the flash
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
id="index" width="606" height="585">
<param name="movie" value="index.swf">
<param name="bgcolor" value="#000000">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
width="606" height="585"
name="index" src="index.swf"
bgcolor="#000000" quality="high"
swLiveConnect="true" allowScriptAccess="samedomain"
></embed>