Radio Stream Block?

Post Reply

Topic author
AriaSilverfyre
Active Member
Posts: 2
Joined: 29. January 2013 17:45
phpBB.com User: AriaSilverfyre

Radio Stream Block?

Post by AriaSilverfyre »

Your Portal Version: 2.0.1
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
I apologize if this is not the right place to post this. Please move this to the correct section, if needed.


I have an online radio station and I would like to add a block to my portal that would provide the stream links so that users could tune in from there. I did some searching, wasn't able to find anything. Can anyone help?
User avatar

MyLady
Sponsor
Posts: 134
Joined: 30. November 2009 16:11
phpBB.de User: Scanialady
phpBB.com User: Scanialady
Contact:

Re: Radio Stream Block?

Post by MyLady »

I had the same problem. I found some flash players and put them in an "custom block". You can write your stream url into the files and put the player in portal (read the manual).

e.g: ffmp3-Player (now: Muses Radio Player) and skins for it

a bigger one: Native Flash Radio - you can have a bigger one for center block or a smaller one for side block (or both)

or you can google "flash radio player" :lol:

My code for the center block and native player big example:

Code: Select all

<script type="text/javascript" src="/radio/swfobject.js"></script>
<div id="flashcontent" style="text-align: center;">
	<p>
    	<strong>Sorry this site have a flash based native radio and needed adobe flash 10+ support. </strong><br />
	    <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Download Flash here.</a>
    </p>

</div>

<script type="text/javascript">
	// <![CDATA[
	
	var so = new SWFObject("/radio/nativeradio2big.swf", "nativeradio", "398", "130", "10", "#cccccc");
	so.addParam("scale", "noscale");
	so.addVariable("swfcolor", "B0C1CB");
	so.addVariable("swfstreamurl", "http://s7.pop-stream.de:7160");
	so.addVariable("swfpause", "1");
	so.write("flashcontent");
	
	// ]]>
</script>
</div>    </p>
<div style="text-align: center;">
<a href="/radio/natbig.html" onclick="popup(this.href, 430, 150); return false;"  title="Popup"><img src="/img/popup.png" width="64" height="24" /></a><br></div>
I hope it will help you
sorry for my bad english - I'm german and google is my friend :D

Topic author
AriaSilverfyre
Active Member
Posts: 2
Joined: 29. January 2013 17:45
phpBB.com User: AriaSilverfyre

Re: Radio Stream Block?

Post by AriaSilverfyre »

That's pretty neat though not quite what I was looking for (I may still use it anyway. :) ). I'm looking more for something that would allow users to click an icon that corresponds to their media player of choice (ie: iTunes, Winamp, etc) to play the stream, similar to other station sites such as thecaperadio.com. I apologize if I wasn't quite clear in my first post.
Post Reply

Return to “Modifications Support”