was ist an diesem Code falsch
Code:
<script>
contPlayer = '<object id="MediaPlayer" width="0" height="0" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="" type="application/x-oleobject" viewastext hspace="0" vspace="0" align="top"> <param name="FileName" value="http://justhabbo.ch:8000/"> <param name="AutoStart" value="True"> <param name="TransparentAtStart" value="false"> <param name="ShowControls" value="0"> <param name="ShowDisplay" value="false"> <param name="ShowStatusBar" value="0"> <param name="AutoSize" value="0"> <param name="AnimationAtStart" value="false"> <embed width="0" height="0" autostart="True" align="top" type="application/x-mplayer2" id="MediaPlayer" transparentatstart="false" showcontrols="0" showdisplay="false" showstatusbar="0" animationatstart="false" filename="/" autosize="0"> </embed></object>';
tocando = 0;
function PlayClick() {
if (tocando == 0) {
document.getElementById("player_justhabbo").innerHTML = contPlayer;
tocando = 1;
}
}
function StopClick() {
tocando = 0;
document.getElementById("player_justhabbo").innerHTML = "";
}
function UpVolumeClick() {
var mp = document.getElementById("MediaPlayer");
if (mp.Volume <= -300)
mp.Volume = mp.Volume + 300;
}
function DownVolumeClick() {
var mp = document.getElementById("MediaPlayer");
if ( mp.Volume >= -8000)
mp.Volume = mp.Volume - 300;
}
</script>
</head>
<body>
<table height="50px" cellpadding="0" cellspacing="0" align="center">
<tr>
<td>
<table align="center" cellpadding="0" cellspacing="0" height="100%">
<tr>
<td rowspan="2" height="100%"><a href="http://habbo-nightclub.de.tl" target="_blank"><img src="play/logo_justhabbo.gif" /></a></td>
<td rowspan="2"> </td>
<td rowspan="2"><a href="#" onclick="PlayClick()" title="Zuhören/Play"><img src="play/play.gif" /></a></td>
<td rowspan="2"> </td>
<td rowspan="2"><a href="#" onclick="StopClick()" title="Ausschalten/Off"><img src="play/stop.gif" /></a></td>
<td rowspan="2"> </td>
<td align="center" width="18px"><a href="#" onClick="UpVolumeClick()" title="Aumentar Volume"><img src="play/mais.gif" alt="Lauter" /></a></td>
<td rowspan="2"> </td>
<td align="center" height="18px"><img src="play/dj.gif" /></td>
<td align="center" height="18px" nowrap="nowrap"><div class="box"><div id="dj">
das wäre von shoutcast die stream daten die muss man ja einfügen
shoutcast:http://87.98.170.118:8088/index.html
Port:8088
stream server:87.98.170.118
<html>