| | 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 |
|
|
CODE<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... read more.
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 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
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.
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...
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
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
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
it is alowed to upload mp3 files?
Latest EntriesCODE <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: 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
Recent Queries:-
Keywords : play, mp3, music, online
downloade an online tutorial,formatted my c: lost it forever,and FORGO (5) id prefer something i can download .....coz my internet connection is highly intermittant Moved AJAXish but not really I think (1) This is a module that I made for the Google personalized homepage that checks AIM online status as online cellphone shopping cart (10) I was wondering if i should try implimenting an online shopping cart that's wap compatible. I (3) i have experience in XHTML, CSS, and PHP (and a *little* bit of Javascript), and i think XML looks Online Bots - virtual bartender (3) Been looking into bots a little bit - some are really good, with lots of answers to questions, etc. Looking for play, mp3, music, online
|
|
![]() Play Mp3 Music Online - question |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|