Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[BLOCK] Radio Block
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-04-24 19:34:42
ok though someone else may want this so posting it in it's own thread...



[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2340"]Radio_Block.rar[/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2352"]Multi_Radio_Block.rar[/url]

then i thought if someone is using my NB-Media theme and wants a radio block i could make it look and fit in better so i did....  :)



[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2343"]NB_Media_Radio_Block.rar[/url]

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2353"]NB_Media_Multi_Radio_Block.rar[/url]

you just need to open "Radio_block.php" with any text editor and replace al

Quote:
[url="http://HTTP//STATION-URL-HERE"]HTTP://STATION-URL-HERE[/url]
with the url's of your prefered net radio stations.......  :(
[PS

the NB-Media version is stand alone IE: you don't need the NB-Medis skin installed so if you'd just like a radio block skined like wmp11 then will still work ok...... :P
Radio_Block.rar
Download
radio_01.jpg
radio_01.jpg
NB_Media_Radio_Block.rar
Download
radio_02.jpg
radio_02.jpg
Multi_Radio_Block.rar
Download
NB_Media_Multi_Radio_Block.rar
Download
Unknown User
2008-04-24 19:51:13
rodriquesp you only need to install the plugin the first time however as i remember i had same trouble what i hadn't notice the last part of install said install failed so i had to download the plugin and run the install from desktop then it worked ok and the radio on my site now works perfectly in IE and FF....  :)
Unknown User
2008-04-24 22:46:17
nice mod  :)  two questions. does it use any or a lot of bandwidth from my site? when the names for the song refreash does it refreash only the block or the whole page?
Unknown User
2008-04-24 22:57:05
"walker1977, post: 41805":
nice mod  :)  two questions. does it use any or a lot of bandwidth from my site? when the names for the song refreash does it refreash only the block or the whole page?
well this is only a guess but i think is only refreshing the player it's self as if it refreshed the whole page wouldn't that reset the player so stream would stop as it does when you refresh or change pages perhaps someone else as a idea....
Unknown User
2008-04-24 22:59:17
it doesn't use any bandwidth and since it uses the windowsmedia control it won't show song names. Really someone should find a flash one that'll read the tags from the stream.
Unknown User
2008-04-24 23:00:05
hi

i've used this code, but the autostart don't function.... the music starts automatic..

can you help me

taken from: [url="http://www.streamalot.com/wm-embed.shtml"]http://www.streamalot.com/wm-embed.shtml[/url]

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
Unknown User
2008-04-24 23:32:50
"TorrentialStorm, post: 41807":
it doesn't use any bandwidth and since it uses the windowsmedia control it won't show song names. Really someone should find a flash one that'll read the tags from the stream.
TorrentialStorm m8 windowsmedia player displays both song and artist names for each track for me using IE v7 and Firefox v2.0.0.14 both with latest plugins although it would be nice to have a flash player that could be desinded to fit most themes, (like i've tried to do with my mp3 player block) now that would be nice.... :)
Unknown User
2008-04-24 23:39:30
"rodriguesp, post: 41808":
hi
i've used this code, but the autostart don't function.... the music starts automatic..

can you help me

taken from: [url="http://www.streamalot.com/wm-embed.shtml"]http://www.streamalot.com/wm-embed.shtml[/url]

EDIT:

i solved the problem. here is the complete code

If any user have problem using FireFox, I post here the code that solved my problem.

It's completely different from the code of Nikkbu, but it works great

rodriguesp i tried your solved version and it worked ok for me with firefox v2.0.0.14 but wouldn't work at all in IE v7 how ever mine works ok for me in both am wondering if it maybe dependent on what wmp version you have installed or browser version or something i have no idea lol
Unknown User
2008-04-25 12:02:42
i have tha latest version of firefox, and IE

i have wmp v11
Unknown User
2008-04-25 13:41:39
"rodriguesp, post: 41834":
i have tha latest version of firefox, and IE
i have wmp v11
so do i rodriguesp

IE v7.0.5730.13

Firefox v2.0.0.14

WMP v11.0.5721.5230

but i still can't get your code to work in IE either in v7 or v6 works ok in firefox though.....  it's strange it as to be something to do with clasid used and plugins installed or possibley the type of audio stream just can't get my head round it lol...

[EDIT]

just been doing some checking and it looks like you are using a classid that is not ment for wmp11 rodriguesp the class you are using is ment for wmp v6.4  the class i am using is the latest wmp classid for wmp v7, 9, 10 and 11 at least acording to this page [url="http://www.mioplanet.com/rsc/embed_mediaplayer.htm"]LINK[/url]
Unknown User
2008-04-25 16:38:57
You can add multiple radio or song   :)

<?
if ($CURUSER){

//M Player BLOCK

begin_block("M Player");

?>

<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='50' controltype='2' showcontrols='1' showstatusbar='1' AutoPlay='true' AutoStart='true'></embed>";

}

//-->

</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><br>

<span id="music1">

<object id="MediaPlayer1" width=150 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
Unknown User
2008-04-25 17:46:04
nice work teamsfx m8 works ok for me in both ie and ff but can the status bar be moved in ie to above play controls??
Unknown User
2008-04-26 07:00:09
I have modif your file radio_block , thinks nick

<style type="text/css">

<!--

.R-ftl {

background-image: url(radio/NB-ftl.png);

background-repeat: no-repeat;

width: 16px;

}

.R-ftm {

width: 100%;

background-image: url(radio/NB-ftm.png);

}

.R-fcap{

background-repeat: no-repeat;

padding-right:30px;

font-size: 12px;

color: #FFFFFF;

font-family: verdana, tahoma, arial, sans-serif;

background-image: url(radio/NB-ft-cap.png);

vertical-align: text-top;

padding-left: 20px;

text-align: center;

font-weight: bold;

background-position: right;

padding-top: 12px;

}

.R-ftr{

width: 17px;

background-image: url(radio/NB-ftr.png);

}

.R-fml{

width: 6px;

background-repeat: repeat-y;

background-image: url(radio/NB-fml.png);

}

.R-fmr{

width: 6px;

background-repeat: repeat-y;

background-image: url(radio/NB-fmr.png);

}

-->

</style>

<script type="text/javascript">

<!--

function song(){

document.getElementById('music1').innerHTML="<embed type='application/x-mplayer2' id='music2' 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='160'></embed>";

}

//-->

</script>

<BR>

<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">



<table class="R-frame" width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td valign="top" align="center" width="100%">

<table class="R-fhead" width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="16" height="30" class="R-ftl"><img src="radio/blank.gif" style="display: block;" height="30" width="16"></td>

<td width="100%" height="30" align="left" class="R-ftm"><table  align="left" border="0" cellspacing="0" cellpadding="0">

<tr>

<td class="R-fcap" height="30">Radio</td>

</tr>

</table></td>

<td width="17" height="30" class="R-ftr"><img src="radio/blank.gif" style="display: block;" height="30" width="17"></td>

</tr>

</table>

<table class="R-fbody" width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="6" valign="bottom" class="R-fml"><img src="radio/left.png" width="6" height="45" /></td>

<td width="100%" valign="top" bgcolor="#000000">



<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="160">

<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="160">

</object>

</span>

</div>

</td>

<td width="6" valign="bottom" class="R-fmr"><img src="radio/right.png" width="6" height="45" /></td>

</tr>

</table>

</td>

</tr>

</table><BR>
Unknown User
2008-04-26 08:16:35
still having probs teamsfx m8 is easier to show than describe so

here is the player with my original code in both IE and FF



and here it is with new sellection code



they both play ok but on the new code the status bar is now below the play controls and the visualizations aren't working......  any idea's
radio1.JPG
radio1.JPG
radio2.JPG
radio2.JPG
Unknown User
2008-04-26 08:25:40
YES  NOW it's work so cool ,

<style type="text/css">

<!--

.R-ftl {

background-image: url(radio/NB-ftl.png);

background-repeat: no-repeat;

width: 16px;

}

.R-ftm {

width: 100%;

background-image: url(radio/NB-ftm.png);

}

.R-fcap{

background-repeat: no-repeat;

padding-right:30px;

font-size: 12px;

color: #FFFFFF;

font-family: verdana, tahoma, arial, sans-serif;

background-image: url(radio/NB-ft-cap.png);

vertical-align: text-top;

padding-left: 20px;

text-align: center;

font-weight: bold;

background-position: right;

padding-top: 12px;

}

.R-ftr{

width: 17px;

background-image: url(radio/NB-ftr.png);

}

.R-fml{

width: 6px;

background-repeat: repeat-y;

background-image: url(radio/NB-fml.png);

}

.R-fmr{

width: 6px;

background-repeat: repeat-y;

background-image: url(radio/NB-fmr.png);

}

-->

</style>





<table class="R-frame" width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td valign="top" align="center" width="100%">

<table class="R-fhead" width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="16" height="30" class="R-ftl"><img src="radio/blank.gif" style="display: block;" height="30" width="16"></td>

<td width="100%" height="30" align="left" class="R-ftm"><table  align="left" border="0" cellspacing="0" cellpadding="0">

<tr>

<td class="R-fcap" height="30">Radio</td>

</tr>

</table></td>

<td width="17" height="30" class="R-ftr"><img src="radio/blank.gif" style="display: block;" height="30" width="17"></td>

</tr>

</table>

<table class="R-fbody" width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td width="6" valign="bottom" class="R-fml"><img src="radio/left.png" width="6" height="45" /></td>

<td width="100%" valign="top" bgcolor="#000000">

<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='160'><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='160'></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><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="180" width="160">

<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="160">

</object>

</span>

</div>

</td>

<td width="6" valign="bottom" class="R-fmr"><img src="radio/right.png" width="6" height="45" /></td>

</tr>

</table>

</td>

</tr>

</table><BR>


:)  :(  :P

thinks to all
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728