Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding a Music Play list to Your Web Page
03-23-2009, 04:19 PM
Post: #1
Adding a Music Play list to Your Web Page
A play list as we all know, is a application which plays tracks one after the other, if you want to add a play list to you web page follow these steps,
If you are testing this code in firefox, you will need an additional plugin, it works well in IE.

Step 1 - Create m3u File

Create a m3u file with the list of songs you want to play in your web page

1. Open a text file
2. Add a list of the mp3 files you want on your playlist. This can be the full path to the file or a relative path
3. Place every mp3 in a new line
4. Save the file with .m3u extension example - playlist.m3u
5. If you want to add any comments begin with a hash (#) symbol

An example text file

# This is my m3u file - it contains a list of songs
F:\music\jaiho.mp3
F:\music\mustafa.mp3
F:\music\guzarish.mp3


Step 2 - Adding to the web page

<html>
<head>

<title> Play List</title>
</head>

<body>

<embed name="music_playlist"
src="list.m3u"
width="300"
height="90"
loop="false"
hidden="false"
autostart="true">
</embed>
</body>

</html>



Try it out Smile Rolleyes



Trevor

Ela Pugalum Iraivan Oruwan nu key !!
Find all posts by this user
Quote this message in a reply
10-24-2009, 05:32 PM
Post: #2
RE: Adding a Music Play list to Your Web Page
Hi Trevor.
Nice informative post. specially i like that you have to give steps so it is very easy to understand.
Thanks for sharing with us.

wii games
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


Contact Us | Coder Passion | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication | Site Map