javascript needed for mp3 player
Posted: Fri Oct 14, 2005 2:23 pm
i need a javascript for maing a music player
Premium hosting with SSD VPS, cPanel/WHM hosting and dedicated servers support and discussion forums. Get help from co-webmasters and professionals!
https://smokyhosts.com/forums/
Red color link music.<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>