Edit Snippets

This forum is archived and read-only. Posts are kept for reference and may be out of date. For help with your server, please contact us.
M

melomanias.com

New Member
Hi

I´ve been trying to edit the snippet for recent tracks for my site but i just cant get it right

If I use the snippets as they are provided i get a weird stairs like effect that you can see at my webpage: Blog - Melomanias.com

I´ve tried to edit the css and redirect it to my own version of the file but no luck :(

¿Any help please?

Thanks!!!
 
Also...
¿Is there any way to autoupdate the status of the recent tracks or current song snippet?
 
Stairs effect

Can you please post the code and i'll have a look.

Also to auto update you should put this script into an iframe then add a html code to refresh the page after 20 seconds or so. I do this and it works great. if you need help with this tell me.
 
Checking your link it seems to work fine from here. Have you changed something and got it working ? It should also auto-update itself in the page (no need for an iFrame).

Hi

I´ve been trying to edit the snippet for recent tracks for my site but i just cant get it right

If I use the snippets as they are provided i get a weird stairs like effect that you can see at my webpage: Blog - Melomanias.com

I´ve tried to edit the css and redirect it to my own version of the file but no luck :(

¿Any help please?

Thanks!!!
 
Browser

Checking your link it seems to work fine from here. Have you changed something and got it working ? It should also auto-update itself in the page (no need for an iFrame).

It might be a certain browser because It i can still see the error through Google Chrome and i have cleared my cache.\


The radio stats dont auto update, I've added them to my site and they ain't that real time they take about 3 minutes to change over. Then when someone goes of the air the stats are saved.
 
thanks

I still see "stairs" effect

I use joomla and this i have in the radio module:

Code:
<p align="center">
<object width="180" height="60" bgcolor="#FFFFFF">
<param name="movie" value="ffmp3-config.swf" />
<param name="flashvars" value="url=http://95.211.0.141:10738;&amp;lang=en&amp;codec=mp3&amp;volume=50&amp;tracking=true&amp;autoplay=true&amp;skin=ffmp3-mcclean.xml&amp;title=Radio%20Melomanias.com&amp;jsevents=false&amp;welcome=melomanias.com" />
<param name="wmode" value="Opaque" />
<param name="scale" value="noscale" /> <embed type="application/x-shockwave-flash" width="180" height="60" src="ffmp3-config.swf" flashvars="url=http://95.211.0.141:10738;&amp;lang=en&amp;codec=mp3&amp;volume=30&amp;tracking=true&amp;autoplay=true&amp;skin=ffmp3-mcclean.xml&amp;title=Radio%20Melomanias.com&amp;jsevents=false&amp;welcome=melomanias.com" scale="noscale" wmode="Opaque" bgcolor="#FFFFFF"></embed>
</object>
</p>
<p>Current song: <a id="cc_stream_info_song" href="http://shoutcast.internet-radio.org.uk/tunein.php/melomanias/tunein.pls">Loading...</a></p>
<div id="cc_recent_tracks">Loading...</div>
<script src="system/recenttracks.js" type="text/javascript"></script>
<script src="js.php/melomanias/recenttracks/rnd0" type="text/javascript"></script>

I have this in the html too:

Code:
<script language="javascript" type="text/javascript" src="http://shoutcast.internet-radio.org.uk/system/recenttracks.js"></script>
<script language="javascript" type="text/javascript" src="http://shoutcast.internet-radio.org.uk/js.php/melomanias/recenttracks/rnd0"></script>

<script language="javascript" type="text/javascript" src="http://shoutcast.internet-radio.org.uk/system/streaminfo.js"></script>
<script language="javascript" type="text/javascript" src="http://shoutcast.internet-radio.org.uk/js.php/melomanias/streaminfo/rnd0"></script>

Thanks for the help!!!

Also to auto update you should put this script into an iframe then add a html code to refresh the page after 20 seconds or so. I do this and it works great. if you need help with this tell me.

I would love some code for this!!
thanks again
 
Just checked Firefox too and it seems to work. (We checked Chrome before). Have attached a screenshot of what we are seeing. One thing that might cause the problem is if you have a javascript blocker on your browser or firewall ? Could you perhaps try a different browser / pc ?
 

Attachments

  • Screenshot-1.png
    Screenshot-1.png
    32.1 KB · Views: 1,298
Just checked Firefox too and it seems to work. (We checked Chrome before). Have attached a screenshot of what we are seeing. One thing that might cause the problem is if you have a javascript blocker on your browser or firewall ? Could you perhaps try a different browser / pc ?


Just add a simple <br/> code in the script?
 
Ok folks the issue is solved
Just some problem accessing the css file and now it works just fine :)

Thank you!
 
Helo mr. melomanias.com

Im an Austrian web admin and i only wanna know which radio modul this is
im looking many days but i couldnt find such modul

sry 4 my rusty english

thx 4 answer

I still see "stairs" effect

I use joomla and this i have in the radio module:

Code:
<p align="center">
<object width="180" height="60" bgcolor="#FFFFFF">
<param name="movie" value="ffmp3-config.swf" />
<param name="flashvars" value="url=http://95.211.0.141:10738;&amp;lang=en&amp;codec=mp3&amp;volume=50&amp;tracking=true&amp;autoplay=true&amp;skin=ffmp3-mcclean.xml&amp;title=Radio%20Melomanias.com&amp;jsevents=false&amp;welcome=melomanias.com" />
<param name="wmode" value="Opaque" />
<param name="scale" value="noscale" /> <embed type="application/x-shockwave-flash" width="180" height="60" src="ffmp3-config.swf" flashvars="url=http://95.211.0.141:10738;&amp;lang=en&amp;codec=mp3&amp;volume=30&amp;tracking=true&amp;autoplay=true&amp;skin=ffmp3-mcclean.xml&amp;title=Radio%20Melomanias.com&amp;jsevents=false&amp;welcome=melomanias.com" scale="noscale" wmode="Opaque" bgcolor="#FFFFFF"></embed>
</object>
</p>
<p>Current song: <a id="cc_stream_info_song" href="http://shoutcast.internet-radio.org.uk/tunein.php/melomanias/tunein.pls">Loading...</a></p>
<div id="cc_recent_tracks">Loading...</div>
<script src="system/recenttracks.js" type="text/javascript"></script>
<script src="js.php/melomanias/recenttracks/rnd0" type="text/javascript"></script>

I have this in the html too:

Code:
<script language="javascript" type="text/javascript" src="http://shoutcast.internet-radio.org.uk/system/recenttracks.js"></script>
<script language="javascript" type="text/javascript" src="http://shoutcast.internet-radio.org.uk/js.php/melomanias/recenttracks/rnd0"></script>
 
<script language="javascript" type="text/javascript" src="http://shoutcast.internet-radio.org.uk/system/streaminfo.js"></script>
<script language="javascript" type="text/javascript" src="http://shoutcast.internet-radio.org.uk/js.php/melomanias/streaminfo/rnd0"></script>

Thanks for the help!!!



I would love some code for this!!
thanks again
 
Top