How to pass music file list
to Flash MP3 player via URL parameters?
After version 3.1, besides placing music file
list to an external XML file, you can also pass music file list
to Flash MP3 player via URL parameters.
The syntax is as follows:
| player.swf?trackfile=http://www.aleosoft.com/mp3toswfconverter/Hungarian_Dances_No._5.swf
&title=HungarianDancesNo.5&artist=JohannesBrahms&album=Classic
&trackfile=http://www.aleosoft.com/mp3toswfconverter/Meditation_From_Thais.swf
&title=MeditationFromThais&artist=JulesMassenet&album=Classic
|
The names of parameters must be "trackfile", "title",
"artist" and "album".
Look for the HTML code that embeds Flash player, you should
change the code as follows:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="156" height="274">
<param name="movie" value="player.swf?trackfile=http://www.aleosoft.com/mp3toswfconverter/BrassDrama.swf
&title=HungarianDancesNo.5&artist=JohannesBrahms&album=Classic
&trackfile=http://www.aleosoft.com/mp3toswfconverter/Meditation_From_Thais.swf
&title=MeditationFromThais&artist=JulesMassenet&album=Classic"
/>
<param name="quality" value="high" />
<embed src="player.swf?trackfile=http://www.aleosoft.com/mp3toswfconverter/BrassDrama.swf
&title=HungarianDancesNo.5&artist=JohannesBrahms&album=Classic
&trackfile=http://www.aleosoft.com/mp3toswfconverter/Meditation_From_Thais.swf
&title=MeditationFromThais&artist=JulesMassenet&album=Classic"
quality="high" type="application/x-shockwave-flash"
width="156" height="274" pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
</object>
|