javascript needed for mp3 player

Any problem with javascript can be discussed here.
TLTCLAN
Posts: 17
Joined: Fri Oct 14, 2005 2:16 pm

javascript needed for mp3 player

Post by TLTCLAN »

i need a javascript for maing a music player


Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post 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.
Image
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

one more suggestion, that i have just found Making an MP3 FLV Player with Flash MX 2004 and JavaScript
Good luck!
Image
kaos_frack
Posts: 504
Joined: Sat May 07, 2005 8:03 am
Contact:

Post by kaos_frack »

i think javascript itself cannot do it
you better use flash
kassandora8
Posts: 41
Joined: Sun Feb 26, 2006 9:10 pm

Post by kassandora8 »

me too. can anybody list the script
hanif muhamad
hacker
Posts: 20
Joined: Wed Oct 25, 2006 11:46 pm

Post by hacker »

for script sources google is your best friend
rwshthn
Posts: 500
Joined: Tue Sep 26, 2006 1:39 am
Contact:

i think

Post by rwshthn »

there is aweb site for java you can go in it and search for your java
http://www.javascript.com
trungtin
Posts: 2
Joined: Sun Nov 26, 2006 2:57 am
Contact:

Post 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.
rwshthn
Posts: 500
Joined: Tue Sep 26, 2006 1:39 am
Contact:

i try

Post by rwshthn »

i try it man it dosent work any more i think its wrong
alivnpro
Posts: 3
Joined: Thu Dec 28, 2006 3:08 pm

Oh! thanks

Post by alivnpro »

Thanks for share
Post Reply