:P :) :D :( :P yep works perfect now thanks teamsfx m8.... :P
<?
begin_block("Radio");
?>
<script type="text/javascript">
<!--
function song(){
document.getElementById('music1').innerHTML="<object classid='clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6' id='music1' name='mediaplayer' height='180' width='150'><param name='URL' value='"+document.getElementById('cancion').value+"'><embed type='application/x-mplayer2' id='music1' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' name='mediaplayer' src='"+document.getElementById('cancion').value+"' autostart='true' showstatusbar='1' playcount='10' enablecontextmenu='0' height='180' width='150'></embed></object>";
}
//-->
</script>
<div align=center>
<center><select id="cancion" onchange="song()" size="1">
<option value="none">Selection</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value=""></option>
</select></center>
<span id="music1">
<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-mplayer2" id="music2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" id="mediaplayer" name="mediaplayer" height="180" width="150">
<param name="AUTOSTART" value="false">
<param name="URL" value="music1">
<param name="VOLUME" value="50">
<param name="PLAYCOUNT" value="10">
<param name="ENABLECONTEXTMENU" value="0">
<embed name="mediaplayer" src="" autostart="false" showstatusbar="1" playcount="10" enablecontextmenu="0" height="180" width="150">
</object>
</span>
</div>
<?
end_block();
?>
"rodriguesp, post: 41889":visited your site m8 and it works on both FF and IE take a lookyes, i've installed from the desktop....
please visit [url="http://p2ptuga.com"]http://p2ptuga.com[/url]
user:
nick: teste
pass: password

"rodriguesp, post: 41893":yes......
the second stream don't play.......
if i'm playing the first, and then change to the second, nothing happens....
Quote: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.............secound station choice not streaming when i tested
"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.............
"rodriguesp, post: 41895":maybe....
but if the first is playing, and them i change to the second, the first station should stop playing. correct?
but NO. the first continues playing
Quote:<?begin_block("Radio");
?>
<script type="text/javascript">
<!--
function song(){
document.getElementById('music1').innerHTML="<object classid='clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6' id='music1' name='mediaplayer' height='150' width='150'><param name='URL' value='"+document.getElementById('cancion').value+"'><embed type='application/x-mplayer2' id='music1' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' name='mediaplayer' src='"+document.getElementById('cancion').value+"' autostart='true' showstatusbar='1' playcount='10' enablecontextmenu='0' height='150' width='158'></embed></object>";
}
//-->
</script>
<div align=center>
<center><select id="cancion" onchange="song()" size="1">
<option value="none">Selecciona</option>
<option value="http://83.132.254.223:8000">DJ rodriguesp</option>
<option value="http://84.91.208.152:8000">DJ MrFile</option>
</select></center><br>
<span id="music1">
<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-mplayer2" id="music2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" id="mediaplayer" name="mediaplayer" height="150" width="158">
<param name="AUTOSTART" value="false">
<param name="URL" value="music1">
<param name="VOLUME" value="50">
<param name="PLAYCOUNT" value="10">
<param name="ENABLECONTEXTMENU" value="0">
<embed name="mediaplayer" src="" autostart="false" showstatusbar="1" playcount="10" enablecontextmenu="0" height="180" width="168"
</object>
</span>
</div>
<?
end_block();
?>
<?
begin_block("Radio");
?>
<script type="text/javascript">
<!--
function song(){
document.getElementById('music1').innerHTML="<object classid='clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' id='mediaplayer' name='mediaplayer' height='180' width='150'><param name='AUTOSTART' value='true'><param name='URL' value='"+document.getElementById('cancion').value+"'><param name='VOLUME' value='50'><param name='PLAYCOUNT' value='10'><param name='ENABLECONTEXTMENU' value='0'><embed type='application/x-mplayer2' id='music1' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' name='mediaplayer' src='"+document.getElementById('cancion').value+"' autostart='true' showstatusbar='1' playcount='10' enablecontextmenu='0' height='180' width='150'></embed></object>";
}
//-->
</script>
<div align=center>
<center><select id="cancion" onchange="song()" size="1">
<option value="none">Selection</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value="HTTP://STATION-URL-HERE">Title Here</option>
<option value=""></option>
</select></center>
<span id="music1">
<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" id="mediaplayer" name="mediaplayer" height="180" width="150">
<param name="AUTOSTART" value="false">
<param name="URL" value="music1">
<param name="VOLUME" value="50">
<param name="PLAYCOUNT" value="10">
<param name="ENABLECONTEXTMENU" value="0">
<embed type="application/x-mplayer2" pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer" src="" autostart="false" showstatusbar="1" playcount="10" enablecontextmenu="0" height="180" width="150">
</object>
</span>
</div>
<?
end_block();
?>No users online
Torrents
Members
Online