Page 1 of 1

Radio BBCode

Posted: Wed Sep 01, 2010 10:37 pm
by Candyman
This BBcode will allow you to post internet radio stations for others to hear.

BBcode Usage:

Code: Select all

[radio]{TEXT}[/radio]
HTML Replace:

Code: Select all

<center><embed src="http://{TEXT}/" type="application/x-mplayer2" width="200" height="65" align="center" border="0"autostart="1" transparentatstart="0" animationatstart="1" showcontrols="true" showaudiocontrols="1" showpositioncontrols="0" autosize="0" showstatusbar="1" displaysize="false">
Helpline:

Code: Select all

Adds media player radio station to your posts.
Example Embed:

Code: Select all

[radio]78.129.196.65:9000[/radio]
Just place any live radio IP and port number between the tags as shown.

Demo

The radio in the example is from Raversparadise.co.uk but any station you know the IP and port number will work.

Re: Radio BBCode

Posted: Sun Sep 05, 2010 1:30 pm
by cisco007
thanks, but you either have an extre <center> or are missing the closing tag </center>, but if you are trying to keep this xhtml strict, you shouldn't use the <center></center> tags!

Re: Radio BBCode

Posted: Tue Sep 14, 2010 3:14 pm
by Candyman
Ahhh yes, indeed you are correct. I would edit the top post but i don't seem to have an edit button? hmmm?

Remove the <center> and replace with:

Code: Select all

<div align="center">
At the very end of the code after displaysize="false"> add:

Code: Select all

</div>

Re: Radio BBCode

Posted: Tue Sep 14, 2010 3:50 pm
by cisco007
you can't use {TEXT} in the newer phpbb versions due to security risk, this is what i use!

Code: Select all

<div style="text-align: center"><embed src="http://{INTTEXT}/" type="application/x-mplayer2" width="200" height="65" align="center" border="0"autostart="1" transparentatstart="0" animationatstart="1" showcontrols="true" showaudiocontrols="1" showpositioncontrols="0" autosize="0" showstatusbar="1" displaysize="false"></div>

Re: Radio BBCode

Posted: Wed Dec 29, 2010 8:17 pm
by walsa
Nice bbcode thanks!

Re: Radio BBCode

Posted: Mon Oct 08, 2012 1:58 am
by jorjamaloney
Thanks for the codes!!!