Getting a mp3 player to work on the web
Started by mxgear, Mar 19 2006 08:33 PM
9 replies to this topic
#1
Posted 19 March 2006 - 08:33 PM
Hi guys and thank you Funky Soul for the great tutroial.
My question is how to put the mp3 player on the web. I know i have to upload everything, but I'm not really sure of what to do from there. Please Help!
My question is how to put the mp3 player on the web. I know i have to upload everything, but I'm not really sure of what to do from there. Please Help!
#2
Posted 20 March 2006 - 05:15 AM
what can you do from there?
- Upload your own tracks and change the paths on the XML
(keep in mind: Copyrights)
- Customize the player to your needs, graphically
- Reverse Engineering and see how I've built the player
just to mention a few possibilities...
- Upload your own tracks and change the paths on the XML
(keep in mind: Copyrights)
- Customize the player to your needs, graphically
- Reverse Engineering and see how I've built the player
just to mention a few possibilities...
#3
Posted 20 March 2006 - 03:03 PM
Thanks but the problem I'm having is that I don't know how to have the songs play on the web page. The player itself is up but the music does not play. You also said change the xml file path. Could you show me what I have to type in the xml to get the music to play in the mp3 player. Your help would be very appreciated.
BTW, heres the current version.
http://www.angelfire.com/un/mgs/
Thanks
BTW, heres the current version.
http://www.angelfire.com/un/mgs/
Thanks
#4
Posted 20 March 2006 - 03:43 PM
ie.
all your music is saved in a folder called music
and the xml is in the root the path would look like this:
music/yourfile.mp3
I've explained this pretty well on part 1 of my tutorial, maybe you want to go through it first.
PS: I'm not sure if angelfire allows that content on their hosts
all your music is saved in a folder called music
and the xml is in the root the path would look like this:
music/yourfile.mp3
I've explained this pretty well on part 1 of my tutorial, maybe you want to go through it first.
PS: I'm not sure if angelfire allows that content on their hosts
Edited by funkysoul, 20 March 2006 - 03:44 PM.
#5
Posted 28 March 2006 - 08:00 PM
I just had a little misunderstanding about that....
The root path.. that could be anywhere on your computer, right?
It doesn't seem to click with me, why there is no.. C://User/documents/whatever/music/file. Or is the "music" folder supposed to be in a certain place?
The root path.. that could be anywhere on your computer, right?
It doesn't seem to click with me, why there is no.. C://User/documents/whatever/music/file. Or is the "music" folder supposed to be in a certain place?
Edited by ogrekey, 28 March 2006 - 08:01 PM.
#6
Posted 28 March 2006 - 08:36 PM
the music folder should be at where you saved your swf file.
it has to be in the same folder as where you saved your swf in other words.
it has to be in the same folder as where you saved your swf in other words.
#7
Posted 29 March 2006 - 02:39 AM
thanks for commenting that
#8
Posted 29 March 2006 - 02:34 PM
Ah, thank you very much.
#9
Posted 29 March 2006 - 05:46 PM
One more question, I created my own, and the playhead starts at the very left of the stage - but I want it to start where my barloader is, on the other side of the stage. what do I do?
#10
Posted 29 March 2006 - 06:34 PM
setInterval(soundStatus,100);
function soundStatus(){
var amountLoaded = _root.sound_mc.sound_obj.getBytesLoaded() / _root.sound_mc.sound_obj.getBytesTotal();
_root.loader.loadBar._width = amountLoaded * 260;
duration = _root.sound_mc.sound_obj.duration;
position = _root.sound_mc.sound_obj.position;
_root.playHead._x = position / duration * 272 + 5;
}
you should put your playhead movieclip right on the left edge of your own progressbar, if you follow the instruction I'm giving on page7 of the tutorial you will easily manage to do in on your own.
http://www.pixel2life.com/twodded/t_create...part_iii/page7/
Don't forget to change the values corresponding to your loadbar
Edited by funkysoul, 29 March 2006 - 06:37 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
