Home › Forums › Archives › Computer Support › Computer Support Discussion › Embedding swf and xml into html
- This topic has 20 replies, 5 voices, and was last updated 22 years, 2 months ago by
DangerBoy.
-
AuthorPosts
-
September 14, 2004 at 1:05 am #8589
ys8er2323
Memberi have a .swf music player
which is here: http://img81.exs.cx/img81/1198/fsmp3playerv1.swfand have gotten it into an html document I am making, it also included a .xml file with an example code,
http://home.comcast.net/~ys8er23/audiolist.xml
the thing is I do not know how to embed the xml file so the swf file inside will recognize it and I do not know how to edit the xml to play my own songs.
September 14, 2004 at 1:15 am #72053David
ParticipantI’m not sure how that media player ‘includes’ the XML, so I can’t help you there, but I’ll show you how to edit the XML:
So heres your file:
Code:That’s one song, and it assumes you have a /media/ folder with NB-Someday.mp3 in it, and a /covers/ folder with nickelback.jpg in it.
If you want another song, just add another line:
Code:Lemme know if that isn’t clear.
September 14, 2004 at 1:54 am #72059ys8er2323
Memberalright so I put this code right before the tag for the .swf?
September 14, 2004 at 2:10 am #72054David
ParticipantAs I said, I do not know how this player works, could you provide any documentation on it?
September 14, 2004 at 2:37 am #72060ys8er2323
Memberit didnt come with any but I can tell you the folder names.
fsmp3playerv1.swf
fsmp3playerv1.fla
audiolist.xml
FS MP3 Player.mxpfolders entitled:
musik
coversSeptember 14, 2004 at 2:44 am #72055David
ParticipantI don’t understand your folder structure, please include the full path for each file, or were those files in the root? Just put the XML file in the same folder as the other files maybe?
September 14, 2004 at 3:18 am #72061ys8er2323
MemberQuote:quote:Originally posted by DavidI don’t understand your folder structure, please include the full path for each file, or were those files in the root? Just put the XML file in the same folder as the other files maybe?
yea but how would I embed the other things in html
September 14, 2004 at 3:20 am #72056David
ParticipantHave you actually tried just embedding the SWF?
September 14, 2004 at 3:23 am #72062ys8er2323
MemberQuote:quote:Originally posted by DavidHave you actually tried just embedding the SWF?
yea I gave u the url to it in my first post
September 14, 2004 at 3:27 am #72057David
ParticipantNo, you linked a SWF and an XML, I’m talking about an HTML document, with a .htm, .html, .shtm, .shtml, or .stm extension.
September 14, 2004 at 3:50 am #72063ys8er2323
Membero yea I did that I just havent uploaded it to the internet
September 14, 2004 at 3:54 am #72058David
ParticipantOkay, forget it, someone else can help you, I don’t have time to baby-step you through this, especially if you aren’t even willing to upload the file.
September 14, 2004 at 3:59 am #72064ys8er2323
Memberwell u didnt ask but its here.
September 14, 2004 at 4:16 am #72068DangerBoy
MemberOk, lemme throw an intervention in here before Dave explodes on your dumb ass.
Ys8er2323 first you need to put a song in the musik folder. Then you need to open up audiolist.xml in Notepad and change the settings to match your song(s) (try one first – baby steps as Dave so elegantly put it). Save it. Upload everything, not just the swf file. EVERYTHING! Voila it works. Peice of friggin pumpkin pie.
September 14, 2004 at 4:30 am #72065ys8er2323
MemberQuote:quote:Originally posted by DangerBoyOk, lemme throw an intervention in here before Dave explodes on your dumb ass.
Ys8er2323 first you need to put a song in the musik folder. Then you need to open up audiolist.xml in Notepad and change the settings to match your song(s) (try one first – baby steps as Dave so elegantly put it). Save it. Upload everything, not just the swf file. EVERYTHING! Voila it works. Peice of friggin pumpkin pie.
yea yea I know what your saying, but I get confused because doesnt everything have to be in one html doc. to work?
honestly it might sound dumb to you but im that good with html.P.s. I dont like flaming.
-
AuthorPosts
- You must be logged in to reply to this topic.