HAb mall ne frage kann man den Jukebox Code ergent wie so machen das er auch ohne ilch geht?
<?php $title = $allgAr['title'].'Radio'; $hmenu = 'Jukebox'; $design = new design ( $title , $hmenu, 0); $design->header(); if($_SESSION['authright']<=-3){ echo'<table align="center" border="0" ><tr><td ><input type="button" onClick="self.location.href=\'?jukebox-1\'" value="Song1"></td>'; echo'<td ><input type="button" onClick="self.location.href=\'?jukebox-2\'" value="Song2"></td>'; echo'<td ><input type="button" onClick="self.location.href=\'?jukebox-3\'" value="Song3"></td></tr>'; if($menu->get(1)==1){ $file='include/data/song1.mp3'; } if($menu->get(1)==2){ $file='include/data/song2.mp3'; } if($menu->get(1)==3){ $file='include/data/song3.mp3'; } echo' <script language="JavaScript"> document.writeln("<OBJECT ID=\"MediaPlayer\" classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" CODEBASE=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab##Version=6,4,5,715\" width=\"0\" height=\"0\" standby=\"Loading...\" type=\"application/x-oleobject\">" ); document.writeln("<PARAM NAME=\"FileName\" VALUE=\"'.$file.'\">" ); document.writeln("<PARAM NAME=\"TransparentAtStart\" Value=\"false\">" ); document.writeln("<PARAM NAME=\"AutoStart\" Value=\"true\">" ); document.writeln("<PARAM NAME=\"AnimationatStart\" Value=\"false\">" ); document.writeln("<PARAM NAME=\"ShowStatusBar\" Value=\"false\">" ); document.writeln("<PARAM NAME=\"ShowControls\" Value=\"false\">" ); document.writeln("<PARAM NAME=\"autoSize\" Value=\"false\">" ); document.writeln("<PARAM NAME=\"displaySize\" Value=\"false\">" ); document.writeln("<PARAM NAME=\"ShowAudioControls\" Value=\"false\">" ); document.writeln("<PARAM NAME=\"ShowPositionControls\" Value=\"false\">" ); document.writeln("<PARAM NAME=\"Loop\" Value=\"true\">" ); document.writeln("<PARAM NAME=\"Volume\" Value=\"80\">" ); document.writeln("<Embed type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/\" src=\"'.$file.'\" Name=\"MediaPlayer\" width=\"0\" height=\"0\" transparentAtStart=\"1\" autostart=\"1\" loop=\"true\" animationAtStart=\"0\" ShowControls=\"false\" ShowAudioControls=\"0\" ShowPositionControls=\"0\" autoSize=\"0\" ShowStatusBar=\"0\" displaySize=\"false\">" ); document.writeln("<\/embed>" ); document.writeln("<\/OBJECT>" ); </script>'; echo'<tr><td> <input type="button" onClick="document.MediaPlayer.Play()" value="-Play- "></td> <td ><input type="button" onClick="document.MediaPlayer.Pause()" value="Pause"></td> <td ><input type="button" onClick="document.MediaPlayer.Stop()" value="-Stop- "></td></tr></table>'; } else { echo' } $design->footer(); ?>
Hab das schon versucht aber ergent wie bekomm ich das nicht hin -.-
Würde mich mall freun wen mir einer helfen könnte.
Hier mall der link wo ich den code eingefuügt hab und welche fehler immer kommt.
Link : subzero.lima-city.de/Players/Radio/
MFG
Sub-ZEro
betroffene Homepage: subzero.lima-city.de/Players/Radio/