swf, mp3 and html in different folders
Brought to you by:
mcreichelt
Hi,
I want to store the player (swf), my mp3 files and the html files in different folders.
Unfortunately I dont' get emff to work with my folder structure.
How do I have to specify the relative paths?
My folders look like this:
/index.html
/music/test.mp3
/swf/emff_standard.swf
cheers
Joerg
Hi Joerg,
this is no problem if you get the relative paths right.
The paths to the MP3 file(s) have to be relative to the web page where the SWF file is included - that is the most important point to get it right. The standard HTML code for your index.html looks like this (notice that the path to the SWF file must be given twice):
<object type="application/x-shockwave-flash" data="swf/emff_standard.swf" width="110" height="34">
<param name="movie" value="swf/emff_standard.swf">
<param name="FlashVars" value="src=music%2Ftest.mp3">
</object>
I think this should solve your problem.
Regards
Marc