Need help to get radio to my portal

Go down

In progress Need help to get radio to my portal

Post by violetsea on January 7th 2014, 11:08 am

How can i add radio to my portal? is there spesific code etc.? I would like to get this station somehow to my portal http://www.internet-radio.com/station/allirishradio/
but...how?? I honestly have no idea...

violetsea
New Member

Posts : 6
Reputation : 1
Language : Finnish/English

http://www.huurubattalion.com/

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by Jophy on January 7th 2014, 3:43 pm

Hello,

You will need the source code of the radio first, and then have it pasted on a widget.
Admin Panel > Modules > Structure > Create a widget:
Widget Source: Paste the code here
> Save

Then add the widget(on addition of personal widgets).
avatar
Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by violetsea on January 7th 2014, 4:00 pm

How do i get source code of the radio? That is the biggest problem, copy and paste links are easy but finding out different codes, there i need help...


Last edited by violetsea on January 7th 2014, 4:03 pm; edited 1 time in total

violetsea
New Member

Posts : 6
Reputation : 1
Language : Finnish/English

http://www.huurubattalion.com/

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by Jophy on January 7th 2014, 4:01 pm

Search for the code of the radio, if it's provided in that site, or you can search for other radio on Google with code and simply copy,paste & add it in a widget.
avatar
Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by violetsea on January 7th 2014, 4:06 pm

Ok so I need the right source code, but i really have no idea how to search it  Embarassed

violetsea
New Member

Posts : 6
Reputation : 1
Language : Finnish/English

http://www.huurubattalion.com/

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by Jophy on January 7th 2014, 4:19 pm

Try this thread, there are codes, procedures and sites to get a radio source code:
https://help.forumotion.com/t73444-ask-about-link-radio-to-forum?highlight=radio

You can search for similar threads, there are a lot. Wink
avatar
Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by violetsea on January 7th 2014, 4:30 pm

That was pretty good thread but it really didn't tell where to get that source code or what part of it to use...

violetsea
New Member

Posts : 6
Reputation : 1
Language : Finnish/English

http://www.huurubattalion.com/

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by Jophy on January 8th 2014, 4:56 am

Ok, let's try to solve it piece by piece, can you try and paste this code in a widget and see if it will work(code provided on the thread):
Code:
<div id="player1" style="position:fixed; left: 40px; top: 0px">

<table style="background:transparent; border:none"><tr><td>

<script language="javascript">
function toggle_it(itemID)
{ if ((document.getElementById(itemID).style.display == 'none'))
{ document.getElementById(itemID).style.display = 'inline'; }
else
{ document.getElementById(itemID).style.display = 'none'; } }
</script>

<a href="#" onClick="toggle_it('p1')"><img src="http://i50.tinypic.com/2iqefjb.jpg" border="0" alt="Music Player Button"></a>
</td></tr></table>

<table id="p1" name="player1" style="display:none;">
<tr><td width="275px" style="background-color: transparent; border:none;
padding:0px">

<table background="" style="background-color: transparent; border: #cccccc solid 0px;padding:0; spacing:0"><tr><td>
<table background="http://i47.tinypic.com/j0d7vn.jpg" style="background-color: transparent; border: #cccccc solid 1px;padding:0; spacing:0"><tr><td><center><font color="blue" size="2"> Radio Horyzont.pl</font></a></center><OBJECT id=WM classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 height="25" width="148" type="video/x-ms-wma">

 <PARAM NAME="autoStart" VALUE="-1">
<param name="URL" value="http://www.radiohoryzont.pl/listen.asx">

<param name="volume" value="0">
<PARAM NAME="AnimationatStart" Value="0">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="playCount" value="0">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">

<param name="mute" value="0">
<!-- param name="uiMode" value="mini" -->
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="1">
<param name="currentPosition" value="0">

<param name="enabled" value="-1">
<param name="enableContextMenu" value="0">

<param name="fullScreen" value="0">

<param name="enableErrorDialogs" value="0">
<param name="defaultFrame" value>
<param name="baseURL" value>

<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>

<EMBED TYPE="application/x-mplayer2" PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download/" ID=WM Width="148" Height="25"
Volume="0"
AutoSize="1"
AutoStart="1"
ClickToPlay="1"
DisplaySize="0"
EnableContextMenu="1"
EnableFullScreenControls="1"
EnableTracker="0"
Mute="0"
PlayCount="1"
ShowControls="1"
ShowAudioControls="1"
ShowDisplay="0"
ShowPositionControls="0"
ShowStatusBar="0"
ShowTracker="0"
Src="http://www.radiohoryzont.pl/listen.asx"></EMBED></OBJECT>
</td></tr></table></td></tr></table>

</td></tr></table>
</div>
avatar
Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by violetsea on January 8th 2014, 10:49 am

Yes i worked, that radio station didn't have proadcast thought but thats not the point now, that source code works.

violetsea
New Member

Posts : 6
Reputation : 1
Language : Finnish/English

http://www.huurubattalion.com/

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by SLGray on January 8th 2014, 11:05 am

So this is solved now?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43514
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

In progress Re: Need help to get radio to my portal

Post by violetsea on January 8th 2014, 11:38 am

well that radio works but not the stations that i wanted to work... because i dont know what part of the source code to use, example :


<html>
<head>
<style type="text/css">
html {
/* background-color: black; */
padding:0;
margin:0;
}
body {
text-align: center;
margin:0 auto;
background-color: white;
padding:4px;
width: 492px;
height: 232px;
font-size: 16px;
font-family: Helvetica, Arial, sans-serif;
line-height: 140%;
}
a { text-decoration: none;
}
img { border: 0;
}
.url {
color: green;
font-size: 12px;
}
</style>
<title>Kiss Fm Ireland - Maximum Musi - Radio Player</title>

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28246491-1']);
_gaq.push(['_setDomainName', 'internet-radio.com']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

</head>
<body onLoad="pageTracker._trackEvent('TuneIn', 'Play - FLASH', 'http://uk1.internet-radio.com:15476/listen.pls')">
<a href="[url=view-source:http://www.internet-radio.com/]http://www.internet-radio.com[/url]" target="_blank"><img alt="Internet Radio" src="[url=view-source:http://www.internet-radio.com/images/internet-radio-reflection.png]/images/internet-radio-reflection.png[/url]" width="468" height="60"></a>

<div style="width: 180px; height: 60px; float: left; margin-top: 7px; margin-right:10px; margin-left:10px;">
<object width="180" height="60" bgcolor="#FFFFFF">
<param name="movie" value="ffmp3-config.swf" />
<param name="flashvars" value="url=http://uk1.internet-radio.com:15476/;&lang=en&codec=&volume=70&tracking=false&autoplay=true&skin=ffmp3-mcclean.xml&title=Kiss Fm Ireland - Maximum Musi&welcome=" />
<param name="wmode" value="window" />
<param name="scale" value="noscale" />
<embed src="[url=view-source:http://www.internet-radio.com/player/ffmp3-config.swf]ffmp3-config.swf[/url]" flashvars="url=http://uk1.internet-radio.com:15476/;&lang=en&codec=&volume=70&tracking=false&autoplay=true&skin=ffmp3-mcclean.xml&title=Kiss Fm Ireland - Maximum Musi&welcome=" width="180" scale="noscale" height="60" wmode="window" bgcolor="#FFFFFF" type="application/x-shockwave-flash" />
</object>
</div>

<!-- <br>http://www.kissfm.ie<br>http://uk1.internet-radio.com:15476/listen.pls<br>http://uk1.internet-radio.com:15476/;</p> -->
<p>
Kiss Fm Ireland - Maximum Musi<br>
<a class="url" href="[url=view-source:http://www.kissfm.ie/]http://www.kissfm.ie[/url]" target="_blank">http://www.kissfm.ie</a></p>
<hr>
<p style="text-align:center;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-3292199762079661";
/* Flash Player Banner */
google_ad_slot = "2063072088";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="[url=view-source:http://pagead2.googlesyndication.com/pagead/show_ads.js]http://pagead2.googlesyndication.com/pagead/show_ads.js[/url]">
</script>
</p>
</body>
</html>



this is the whole source code but it doesn't work, is there on direct part to use or something like that?

It looks like this: http://gyazo.com/db66587996fa5f9e2848cc7be9e6e569.png

violetsea
New Member

Posts : 6
Reputation : 1
Language : Finnish/English

http://www.huurubattalion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum