<?php"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!!
<?
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""Nikkbu, post: 41894":yes as i said it's not that the plugin isn't working the second station isn't on air or the url is wrong, at least it isn't working in both mediaplayer or winamp so i assume the stations off air at this time.............
Quote:<?begin_block("DJ rodriguesp");
?>
<object id="MediaPlayer1" width=180 height=50
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft
"Nikkbu, post: 41778":not sure you can try but i guess it'll display url instead of songname again if you want a radio block you could try something like
<?
begin_block("Radio");
echo "<object classid=\"clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6\" id=\"mediaplayer\" name=\"mediaplayer\" height=\"180\" width=\"160\">\n";
echo "<param name=\"autoStart\" value=\"false\">\n";
echo "<param name=\"URL\" value=\"HTTP://WWW.YOUR-RADIO.URL.COM\">\n";
echo "<param name=\"VOLUME\" value=\"50\">\n";
echo "<param name=\"PLAYCOUNT\" value=\"10\">\n";
echo "<param name=\"ENABLECONTEXTMENU\" value=\"0\">\n";
echo "<embed name=\"mediaplayer\" src=\"HTTP://WWW.YOUR-RADIO.URL.COM\" autostart=\"false\" showstatusbar=\"1\" playcount=\"10\" enablecontextmenu=\"0\" height=\"180\" width=\"160\">\n";
echo "</object>\n";
end_block();
?>
swap [url="http://HTTP//WWW.YOUR-RADIO.URL.COM"]HTTP://WWW.YOUR-RADIO.URL.COM[/url] for your radio stream url then save as Radio_block.php and place in blocks dir and active in admin cp
i just put that on my test tracker if you want to see what it's like....
[RE-EDIT]
this code now works ok with firefox although you may need to install the wmp11 plugin for firefox....
"wolfnet, post: 41166":Yes!Demo: www.exanova.eu | publik account: google | farkas
"teamfsx, post: 39820":ok take this it's my laste upade works 100% for me, scrolling your last upload image in the same block "not the block divided in 3 spaces" , it's for you torrenttrader, and , say me if it's work.:D :D :D
"rulebreaker, post: 40580":hmm my doesnt seem to be working too..iv been seeding for a day and it still 0.0