Page 1 of 2

javascript needed for mp3 player

Posted: Fri Oct 14, 2005 2:23 pm
by TLTCLAN
i need a javascript for maing a music player

Posted: Fri Oct 14, 2005 3:38 pm
by Lixas
i have few script for web mp3 player. one of them uses php
Currently, i'm cheking one, that found yesterday, and it is quite good. Its not exactly music player, but originaly it's designed to listen for my own music in other place using web. I know that it realy works on windoze, but i'm not sure if it will work on linux hosting. In this player u must point a directory, where is all your mp3, and player process that music by flash.
Other version that i have, uses XML file for music url's and names, so thet is better if your music is hosted in other servers and so on.
If u need it, contact me and i'll be able to send u all 2 web mp3 players and u will be able to chose better.

Posted: Fri Oct 14, 2005 3:47 pm
by Lixas
one more suggestion, that i have just found Making an MP3 FLV Player with Flash MX 2004 and JavaScript
Good luck!

Posted: Fri Feb 24, 2006 8:43 am
by kaos_frack
i think javascript itself cannot do it
you better use flash

Posted: Sun Feb 26, 2006 9:18 pm
by kassandora8
me too. can anybody list the script

Posted: Thu Oct 26, 2006 12:26 am
by hacker
for script sources google is your best friend

i think

Posted: Sat Nov 18, 2006 7:55 am
by rwshthn
there is aweb site for java you can go in it and search for your java
http://www.javascript.com

Posted: Sun Nov 26, 2006 3:04 am
by trungtin
Code Music MP3
<script type='text/javascript'>

function goMovie(){
/*
Movie section...
*/
var mediaurl = 'MOVIE OR MEDIA FILE URL'
var imovie = '<object id="MediaPlayer1" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/co ... 5,1,52,701" standby="Loading Microsoft Windows? Media Player components..." type="application/x-oleobject" width="100%" height="330">'
imovie+= '<param name="fileName" value="' + mediaurl + '" />'
imovie+= '<param name="animationatStart" value="true" />'
imovie+= '<param name="transparentatStart" value="true" />'
imovie+= '<param name="autoStart" value="false" />'
imovie+= '<param name="showControls" value="true" />'
imovie+= '<param name="Volume" value="-10" />'
imovie+= '<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"'
imovie+= 'src="' + mediaurl + '" width="440" height="330" autostart="0" showcontrols="1" volume="">'

****.getElementById('moviePad').innerHTML = imovie;
}
</script>
Red color link music.

i try

Posted: Sun Nov 26, 2006 8:52 am
by rwshthn
i try it man it dosent work any more i think its wrong

Oh! thanks

Posted: Tue Jan 02, 2007 1:04 am
by alivnpro
Thanks for share