"SpaZiuR, post: 41914":i have TT2.02 in IE everything works great...but in firefox the vizualization is not showed and if i change the radio station the one i had selected stays selected!!
I have corrected that problem. Now it works both in IE, in FF and other browsers.
The visialization, works. If you change the station (in FF), it works great.
here is the code:
<?
begin_block("Radio");
?>
<script type="text/javascript"><!--
function song(){
document.getElementById('music1').innerHTML="<embed type='application/x-mplayer2' id='music2' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' src='"+document.getElementById('cancion').value+"' name='MediaPlayer1' width='150' height='150' controltype='2' showcontrols='1' showstatusbar='1' AutoStart='true'></embed>";
}
//-->
</script>
<div id="jukebox"><br><br>
<select id="cancion" onchange="song()" size="1">
<option value="none">::: Chose Station :::</option>
<option value="URL TO STREAM">NAME OF STREAM</option>
<option value="URL TO STREAM">NAME OF STREAM</option>
<option value="URL TO STREAM">NAME OF STREAM</option>
<option value="URL TO STREAM">NAME OF STREAM</option>
<option value="URL TO STREAM">NAME OF STREAM</option>
<option value="URL TO STREAM">NAME OF STREAM</option>
</select><br>
<span id="music1"><embed type="application/x-mplayer2" id="music1"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src=""
name="MediaPlayer1"
width="150"
height="150"
controltype="2"
showcontrols="1"
showstatusbar="1"
AutoStart="0">
</embed></span>
</div>
If you want to see here any radio or tv that isn't shown here, please send PM, or email.
<?
end_block();
?>
just need to edit:
URL TO STREAM
and
NAME OF STREAM
the size, is ok for my theme. but if you want bigger, just edit the sizes. (the sizes are defined in two places. Edit both
width="150"
height="150"
that's all.
the problem, is because we use the "classid........"