Embedding flash problem

  • Thread starter Paul F. Johnson
  • Start date
P

Paul F. Johnson

Hi,

I'm redesigning a website at the moment and have hit upon a problem. I
have the following piece of code (which is lifted from the original HTML
file)

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=2,0,0,0"
width="343" height="232" align="middle">
<param name="SRC" value="flash/movie.swf">
<embed src="movie.swf"
pluginspage="http://www.macromedia.com/shockwave/download/" width="343"
height="232" align="middle">
</embed>
</object>

(sorry about the word wrapping)

On the original website it works fine (you can see it at
http://www.smmp.salford.ac.uk/dixonpeters). If I move the files where they
are stored to anywhere other than where they currently are, the embedded
bits don't work.

Is this more likely an Apache problem or something else and is this the
correct way to embed a flash movie (or any other media such as a real file
etc?)

TTFN

Paul
 
S

Steve Pugh

I'm redesigning a website at the moment and have hit upon a problem. I
have the following piece of code (which is lifted from the original HTML
file)

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=2,0,0,0"
width="343" height="232" align="middle">

Look at these two lines.
<param name="SRC" value="flash/movie.swf">
<embed src="movie.swf"

Browsers that use the MS-mangled-<object> will look for the movie.swf
file in the flash directory whilst browsers that use the
never-standard-<embed> will look for the movie.swf in the same
directory as the html page. Is the movie.swf file in both locations on
the orginal?
pluginspage="http://www.macromedia.com/shockwave/download/" width="343"
height="232" align="middle">
</embed>
</object>


On the original website it works fine (you can see it at
http://www.smmp.salford.ac.uk/dixonpeters). If I move the files where they
are stored to anywhere other than where they currently are, the embedded
bits don't work.

Can you post a URI to the new site where they don't work?
Iis this the correct way to embed a flash movie (or any other media such as
a real file etc?)

Have a read of http://www.alistapart.com/stories/flashsatay/

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top