![]() |
| |||||||
| Graphics and Web Design (free) Free graphic design & web design work. If you want to buy/sell services, please go to fSwapMeet |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Senior Forumer ![]() | Here's a little program I created that will play multi mp3's on your forum. You can embed this code anywhere you like. All you have to do is change the song list that I have to your very own. =============================================== <BR><BR> <!-- Multi Music Player Submitted by Amanda Prentice (Cautiouz(Oopzz) Raven) --> <!-- begin code multi music player --> <center>Multi MP3 Player<br> (Just select a song a press play)</center><br> <center><object id="multiplayer" 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 name="playlist" size="1"> <!-- Add song info here... And don't rip--> <option value="0">Ronnie Laws-Fever</option> <option value="1">Ronnie Laws-Always There</option> <option value="2">Billy Cobham - Stratusk</option> <option value="3">Grover Washington-Mr. Magic</option> <option value="4">Paul Hardcastle-The Redzone</option> <option value="5">Nickleback-Someday</option> <option value="6">Hinder-Lips Of An Angel</option> <option value="7">Hinder-Better Than Me</option> </select><br> <input TYPE="BUTTON" NAME="multiplay" VALUE="play" OnClick="play(document.forms['form'].playlist);"> <input TYPE="BUTTON" NAME="multipause" VALUE="pause" OnClick="document.multiplayer.pause(); playstate=2;"> <input TYPE="BUTTON" NAME="multistop" VALUE="stop" OnClick="document.multiplayer.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(); // Add song URLs here songs[0]="http://www.fileden.com/files/2006/7/16/133391/RonnieLaws_Fever.mp3"; songs[1]="http://www.fileden.com/files/2006/7/16/133391/AlwaysThere_RLaws.mp3"; songs[2]="http://www.fileden.com/files/2006/7/16/133391/CobhamStratus.mp3"; songs[3]="http://www.fileden.com/files/2006/7/16/133391/Grover%20Washington%20Jr-%20Mr%20Magic.mp3"; songs[4]="http://filexoom.com/files/4064/Paul%20Hardcastle%20-%20Red%20Zone.mp3"; songs[5]="http://boxstr.com/files/871/Nickleback%20-%20Someday.mp3"; songs[6]="http://boxstr.com/files/871/Hinder%20-%2008%20-%20Lips%20Of%20An%20Angel.mp3"; songs[7]="http://boxstr.com/files/871/Hinder%20-%20better%20than%20me.mp3"; if (shuffle == 1) { var randsg = Math.floor(Math.random()*songs.length); document.multiplayer.FileName = songs[randsg]; document.multiplayer.scr = songs[randsg]; document.forms['form'].playlist.options[randsg].selected = true; } function play(list) { if (playstate == 2) { document.multiplayer.Play(); } else { var snum = list.options[list.selectedIndex].value document.multiplayer.FileName = songs[snum]; document.multiplayer.scr = songs[snum]; } playstate = 1; } //--> </script></center> <!-- end code multi music player --> ======================================= All you have to do is replace the Option Values with your own. Then, go down further and match the song number with your option value and that's it. Be careful not to remove any of my colon's, semi-colons or spaces. It's important that those stay in tact. Post back if you have any problems or you can give me your list and I will fix the code up for you where all you would need to do is paste it inside your fportal. ![]() Well.. thats it for today, folks. Let me know how it turns out and don't forget to give me props for the program. ![]() Enjoy! |
![]() | |
| | |
| | #3 (permalink) |
| Senior Forumer ![]() | Yes... and just like my tutorials are all where I posted so is this script I put together. There are 11 other sites that also have my code; and if you knew how to modify scripts, I'm sure you can come up with another version. Everyone's is different; but, I know my work when I see it..and I know where I put stuff. And now, Forumer has my version. Now, just as soon as I complete the interface for it, the program will not look so raw. Im assuming you posted that to make some kind of point and yes..it is well to inform the community that my projects, graphics, programs, software have been posted just about everywhere that Ive joined and I'm sure some folks have took it upon themselves to copy and paste it on their own sites for one reason or another. So.. moving right along! Now you posted that additional script to say what? What was YOUR purpose for posting it again? Last edited by oopzz; 08-06-2007 at 01:50 PM. |
![]() | |
| | |
| | #5 (permalink) |
| Senior Forumer ![]() | Mine doesn't have autoplay. You can choose what you want to hear by using the drop down menu. The MP3 will change every time the site is refreshed however, you still have a choice of what you want to hear or whether or not you want to hear music at all for that matter. |
![]() | |
| | |
| | #6 (permalink) |
| Hem Hem ![]() ![]() | It is not a program, it is a HTML/Javascript snippet to use on websites. Also, I know how to modify scripts, I use PHP/HTML/java script/SQL and CSS just on one website, and that is pretty standard. |
![]() | |
| | |
| | #7 (permalink) |
| Senior Forumer ![]() | (Clearing Throat) Since you are combing the forum making irrevelent responses to threads; Kudos for sharing with us your skills and talents. Surely, you know html and JS are programming languages. Just like any other language, words are not worth spit unless you put them together to form some type of sentence, paragraph or whatever the case maybe. The same holds true with the HTML and Java Script; however, in this case-- instead of sentences or paragraphs, the end result of words put together using computer language (whether visual basic, java script, html, etc.) is called a program. Snippet? Such a cute word. Now ... where oh.. where in your responses has it to do with my original post? I posted this to assist another forumer should they choose to have multiple mp3's playing on their site. I truly wasn't intending to debate on an issue not even relative to the topic!! |
![]() | |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multi purpose forum | Kur0saki | Show Off | 1 | 05-18-2007 12:24 AM |
| Multi Forum!!!! Football, Gaming, Fishing Simulator 2, Adult 18+ Forum | cozworthm1 | Show Off | 1 | 04-03-2007 01:29 AM |
| Multi-Gaming Clan Forum!!!!! | chopstick | Show Off | 3 | 12-25-2005 10:09 PM |
| Multi-task Forum | imported_godevil | Show Off | 0 | 04-01-2004 05:53 AM |
| Multi Topic Forum | thatcyberdude | Show Off | 1 | 03-24-2004 08:27 AM |