PDA

View Full Version : html code help



GothicDreams
12-09-2005, 01:08 AM
hi i was wondering is it posable to get more then
1 music file on to a web site and have the music
play though 1 player only and have a next botten
to change to song i have tryed writeing it but
all it comes out with is 2 players of both songs
can you write a html i can use for this or tell
me how to do it

GothicDreams
12-10-2005, 08:05 AM
this is bull**** will someone answer me or what rude ppl

mwinter
12-10-2005, 03:54 PM
this is bull**** will someone answer meThe regular posters of these forums are not omniscient. I certainly don't concern myself with music because in the majority of cases, music isn't appropriate on Web sites. That said, I can tell you that HTML cannot do what you want. You'll find that sites, such as musicians', use Flash for controlling multiple tracks.


or what rude pplWhat nerve. What hypocrisy! You think you can demand attention and then call others rude if it's not given to you?!

Mike

jesse
12-10-2005, 08:11 PM
1. Save your music file to the same directory where you will be playing the music from, or reference a music directory of a remote URL where you know a music file already exists.

2. Open up a text editor such as Windows Notepad or JGsoft's EditPad (as I use).

3. Type in the FULL path to the Web Address (URL) of your MP3 or WMA music file.

If it's an MP3 music file, type it in like this:
http://www.domain.com/music/song.mp3

Or, if it's a Windows Media Audio (.wma) file, type it in like this:
http://www.domain.com/music/song.wma

The above 2 examples assumes that http://www.domain.com is your domain, that the music folder is where your MP3 or WMA file is located, and that song.mp3 and song.wma are the names of your .mp3 and .wma files.

Save this text file with an .m3u (universal playlist) extension.
Example: music.m3u

You can also include several songs (tracks) in one .m3u playlist file if you want to.
Example of one .m3u playlist file containing several songs:
http://www.domain.com/music/song1.mp3
http://www.domain.com/music/song2.mp3
http://www.domain.com/music/song3.mp3
http://www.domain.com/music/song4.mp3

There is no limit to how may songs you can include in an individual playlist. In a playlist with more than one song, each song is buffered and streamed individually. Therefore, it makes no difference how many songs are referenced in one playlist file. Each song will play one after the other without user intervention. Also, in a playlist with more than one song, the site visitor can use the Media Player controls to skip forward or back a track (song) in the playlist, and also has the option of "previewing" a short clip or a series of short clips of each song in the playlist.