HOME       >>       Programming

Play Mp3 Music Online question


farsiscript

hi alli 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 methanks dears


crazyteens

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


farsiscript

Hi all Thanks dear crazyteens
i find this Javascript soruce code you can play and playlist


<p >Music playlist</p><p ><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 playsongs=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].valuedocument.darkplayer.FileName = songs[snum];document.darkplayer.scr = songs[snum];}playstate = 1;}//--></script>

You can add many file

darran

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="https://www.test.com/; 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.


Lozbo

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...


firehands

Heres a method for "pseudostreaming" which btw really is streaming as the mp3s can play while they are being down loadedplace the a list of tracks in a plain text file and name it "mytracks.mpu"egtrack1.mp3track2.mp3track3.mp3track4.mp3track5.mp3track6.mp3track7.mp3and 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 m3pHTH


farsiscript

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


iGuest

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


jopak134

i am also wondering how to do this and a lot of solutions that are posted are really helpful


oestergaard

it is alowed to upload mp3 files?


oestergaard

I saw it was


chappill

<embed src="yourmusic.mid" width="140" height="40" autostart="false" loop="FALSE"> </embed>

Where it says yourmusic.mid, change it to the source where your music is, width and height are obvious, autostart is when they go on the page does it start automatically, and loop is does it continuously play, pu that code where ever you like on the page (within body).

To play music without the people having any choice (as background music) use this code:
<BGSOUND SRC=your_file.mid LOOP=1>

Set loop as any positive number or -1 as infinite, hope this helped

P.S Google is your friend for future reference

iGuest

best free flash player mp3Play Mp3 Music Online

Hi,

these are 2 links where you can find two easy and best player to add in web :-

http://www.dewplayer.fr/

http://www.flabell.com/flash/Flash-Mp3-Player-29

-reply by stex

iGuest

Need code to embed media player to play mp3Play Mp3 Music Online

 

What I need to know how to do is this. I have music in a specific folder on my online server and I want to embed a music player on my web-site to play music from that folder in random order.

Can someone explain to me in simple terms how to do this? I do know a little html programming but am by no means an expert.

I have a 259 songs that I want to play in random order in this player. I would like for this to function like the players at Playlist.Com but those players only accommodate around 100 songs.

If anyone can assist me with this it would be greatly appreciated.

Thanks,

Jerry

-question by Jerry Pitts

iGuest

It is works!Play Mp3 Music Online

Thanks for all,

 I can now hear musics on my blog... 

I put midi on it, because it is smallest size... I do not want to keep my visitor waiting...

 check it : http://mufidbtm.blogspot.com/ http://forums.xisto.com/no_longer_exists/ http://forums.xisto.com/no_longer_exists/



VIEW DESKTOP VERSION REGISTERGET FREE HOSTING

Xisto.com offers Free Web Hosting to its Members for their participation in this Community. We moderate all content posted here but we cannot warrant full correctness of all content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2001-2019 by Xisto Corporation. All Rights Reserved.