Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Music Player
Topic Started: Mar 1 2009, 06:14 PM (227 Views)
Deleted User
Deleted User

Hello fellow zetas and invisioners,

Here is my question: Is there a way to add a simple and small music player with stop/play features (or more)? I'd like to fit it in my side bar or somewhere not in the way. Also could you explain how to add the songs in? I have the songs on my desktop and I play them using a VLC media player (if this is of any use of information)

Heres a link to my website: My Webpage

thank you all!
Quote Post Goto Top
 
Tony
Member Avatar
If found, please report missing.

Have a look through this topic for a variety of music players.
Online Profile Quote Post Goto Top
 
Deleted User
Deleted User

thank you very much tony! But I have a new problem!

My probem is: the music wont play!

this is the script im using:

Quote:
 
<title>Invisionfree Jukebox</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->


</script>
<script LANGUAGE="JavaScript1.1">
<!-- Original: Martin Webb (martin@irt.org) -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("THE SIMPSONS! ");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
// End -->
</script>
<script language="JavaScript">

<!--

var browser=navigator.appName



if (browser == "Netscape")

{ document.write('<link rel="stylesheet" href="css/netscape.css" type="text/css">'); }

else

{ document.write('<link rel="stylesheet" href="css/other.css" type="text/css">'); }



function MM_jumpMenu(targ,selObj,restore){ //v3.0

eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

if (restore) selObj.selectedIndex=0;

}

//-->

</script>



<Body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<DIV align=top><table width="400" border="0" cellspacing="0" cellpadding="0" height="282">

<tr>

<td background="" align="">
<BR><BR>
<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="Loop" VALUE="True">
</object>
<form name="form">
<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:#FFFFFF; WIDTH: 250px; COLOR: #00000; font-face: Arial" name="playlist" size="1">
<option value="0">The Simpsons JukeBox</option>
<option value="1">$19.99</option>
<option value="2">Sea Dragon Palace</option>
</select><br>
<input TYPE="BUTTON" NAME="darkplay" VALUE="Play Song" 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 The Music" OnClick="document.darkplayer.Stop(); playstate=2;"></p>
</form>
<script language="JavaScript">
<!--
var playstate = 1;
songs=new Array();
songs[0]="MusicBox.wma";
songs[1]="http://www.angelfire.com/ri2/neolan675/Apu1999_-_Feb_21__2004_22.05.36.wav";
songs[2]= "http://h1.ripway.com/BlooDMoD/Music_SeaPalace01.ogg";
if (shuffle =0){
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 =0) {
document.darkplayer.Play();
} else {
var snum = list.options[list.selectedIndex].value
document.darkplayer.FileName = songs[snum];
document.darkplayer.scr = songs[snum];
}
playstate = 1;
}
//-->
</script>

</td>

</tr>

</table></DIV>




<script language="JavaScript">
<!--

window.open = SymRealWinOpen;

//-->
</script>





I put it under footer...and this is the song url I am using: http://h1.ripway.com/BlooDMoD/Music_SeaPalace01.ogg

Here is a link where you can see the music player at the bottom of my website: My Webpage

Is there something wrong with my song url?

the song i used is already on my desktop and i opened it with VLC media player (DLed from internet) then i went to an internet site to upload my song into a url...

thank you again!
Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards Support & Galleries · Next Topic »
Add Reply