|
|
|
|
![]() ![]() |
Aug 31 2006, 05:55 PM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 357 Joined: 8-April 06 Member No.: 21,487 |
hi all
i want make one html page with 4~6 mp3 link i want users when click at mp3's link play at online player in page ! do you know how can do it that ? or do you know good music player in web (flash , MediaPlayer ) plz help me thanks dears |
|
|
|
Sep 1 2006, 08:10 AM
Post
#2
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 61 Joined: 13-February 06 Member No.: 18,596 |
Flash MP3 Player
The Flash/Perl MP3 Player is a complete web-based streaming mp3 player for your perl-friendly website. Downloading the zip file will allow you to upload mp3 files directly to your website. As mp3 files are added, your playlist is automatically updated. Works with frames or without. This will run on your server or your money back! check it out http://www.gigfoot.net/software/1.html |
|
|
|
Sep 2 2006, 07:02 PM
Post
#3
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 357 Joined: 8-April 06 Member No.: 21,487 |
Hi all Thanks dear crazyteens
i find this Javascript soruce code you can play and playlist CODE <p class="nav">Music playlist</p> <p class="menubottom"> <object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"> <param NAME VALUE> <param NAME="ShowControls" VALUE="0"> <param NAME="ShowStatusBar" VALUE="0"> <param NAME="ShowDisplay" VALUE="0"> <param NAME="DefaultFrame" VALUE="Slide"> <param NAME="Autostart" VALUE="1"> <param NAME="Loop" VALUE="True"> </object><form name="form"> <select style="FONT-SIZE: 8pt; BACKGROUND: #EEEAEA; WIDTH: 166px; COLOR: #A8A8A8; font-face: Comic Sans MS" name="playlist" size="1"> <option value="0">SONG TITLE!!!</option> <option value="1">SONG TITLE!!!</option> <option value="2">SONG TITLE!!!</option> <option value="3">SONG TITLE!!!</option> <option value="4">SONG TITLE!!!</option> <option value="5">SONG TITLE!!!</option> <option value="6">SONG TITLE!!!</option> </select><input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);"> <input TYPE="BUTTON" NAME="darkpause" VALUE="pause" OnClick="document.darkplayer.Pause(); playstate=2;"> <input TYPE="BUTTON" NAME="darkstop" VALUE="stop" OnClick="document.darkplayer.Stop(); playstate=2;"></p> </form> <script language="JavaScript"> <!-- var playstate = 1; shuffle = 1; // set to 0 to always play first song in list // set to 1 to randomly choose the first song to play songs=new Array(); songs[0]="SONG URL!!!"; songs[1]="SONG URL!!!"; songs[2]="SONG URL!!!"; songs[3]="SONG URL!!!"; songs[4]="SONG URL!!!"; songs[5]="SONG URL!!!"; songs[6]="SONG URL!!!"; if (shuffle == 1) { var randsg = Math.floor(Math.random()*songs.length); document.darkplayer.FileName = songs[randsg]; document.darkplayer.scr = songs[randsg]; document.forms['form'].playlist.options[randsg].selected = true; } function play(list) { if (playstate == 2) { document.darkplayer.Play(); } else { var snum = list.options[list.selectedIndex].value document.darkplayer.FileName = songs[snum]; document.darkplayer.scr = songs[snum]; } playstate = 1; } //--> </script> You can add many file |
|
|
|
Sep 2 2006, 10:24 PM
Post
#4
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 660 Joined: 31-August 06 From: Singapore Member No.: 29,189 |
I have a very simple method as compared to what the others have posted, for you to play a music player in another page. Create a link and in that particular page you have linked your music to and then enter this code
<embed src="www.test.com/123.mp3"> In other words, lets say you have a link to this new page (song1.html), and on song1.html; enter this code in your html in where you want to place your player. Most probably you would want an empty page where it centralises the player with a link back to the previous page. There are other properties you would like to edit like whether it loops after the end of the song or anything like that. So there you have it, the default windows media embedded player in your webpage. |
|
|
|
Oct 11 2006, 06:20 PM
Post
#5
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 282 Joined: 1-September 05 From: Wanatos Member No.: 11,382 |
I only know about plugins for CMS that do that ... I have not tried it without a CMS, but the options provided here seem good...
The plugins I speak of (they are for wordpress, actually), are made in flash and they look very fansy and work good. If you'd like more on this, leave a reply... |
|
|
|
Dec 14 2006, 11:10 PM
Post
#6
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 14-December 06 Member No.: 35,325 |
Heres a method for "pseudostreaming" which btw really is streaming as the mp3s can play while they are being down loaded
place the a list of tracks in a plain text file and name it "mytracks.mpu" eg track1.mp3 track2.mp3 track3.mp3 track4.mp3 track5.mp3 track6.mp3 track7.mp3 and place a link to it in your web page <a href="mytracks.m3u">listen to my new album</a> this assumes that your mp3s, the mpu file and the web page are all in the same directory. When the user clicks on the link, a media player will open the file and play it. with any luck the mime type will have already been set up for you If not you may be able to create/edit an .htaccess file in the same directory so that it includes the following line: AddType audio/x-mpegurl m3p HTH |
|
|
|
Jan 7 2007, 07:43 AM
Post
#7
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 357 Joined: 8-April 06 Member No.: 21,487 |
Hi firehands and Lozbo darran i use last javascript code , but know i need to ajax or flash media player for play mp3 or wma files . i search at internet and i can'nt find any result for online radio or media player !
if you have link or script please post here thanks |
|
|
|
Apr 3 2008, 10:05 AM
Post
#8
|
|
|
Trap Double Mocha Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2,360 Joined: 21-September 07 Member No.: 50,369 |
Play mp3 on my site
Play Mp3 Music Online Replying to farsiscript I need to play mp3 file on my site. When visitors come to my site on Entertainment page they can play my playlist... How can I do it..? Any one out there know how to do it...? Help me... Cheer for today... -reply by LanunLuch |
|
|
|
Apr 9 2008, 05:45 PM
Post
#9
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 224 Joined: 1-February 08 Member No.: 57,183 |
i am also wondering how to do this and a lot of solutions that are posted are really helpful
|