Flash Streamer

Discuss Shoutcast streaming here, any issues, advice or tips are welcome
Forum rules
Please don't use the forums to report outages, particularly if you are a FreeStreamHosting.org user.

Flash Streamer

Postby Reeno » Fri 30th Sep, 2011 7:13 pm

The display flash player is not loading. Even on the links and scripts page it loads slow. It won't load at all on my website. The music does stream to the alternate site. But I need the Flash Stream to work on my site. :?
Reeno
 
Posts: 1
Joined: Fri 30th Sep, 2011 7:08 pm

Re: Flash Streamer

Postby Gavin » Sat 01st Oct, 2011 2:48 pm

Please click on 'Service updates' at the top of the page.
Please don't PM me for support, support system located at:
Customer Support: https://secure.bellonline.co.uk/submitticket.php
FreeStreamHosting Support: http://freestreamhosting.org/support.php
Sales: https://secure.bellonline.co.uk/contact.php
Gavin
Site Admin
 
Posts: 387
Joined: Thu 01st Jan, 1970 1:00 am

Re: Flash Streamer

Postby tugaradiofm » Tue 20th Mar, 2012 3:32 am

My Flash Player works fine, but the title of the songs don't change? i have to refresh the page all the time to see the title of the song it's play??
maybe i do something wrong:(

<br><br><center>

<script type="text/javascript" src="http://shoutcast.mixstream.net/js/song/uk11-free:11724">
</script><p>
<script type="text/javascript" src="http://shoutcast.mixstream.net/js/listeners/uk11-free:11724">
</script>
<script type="text/javascript" src="http://shoutcast.mixstream.net/js/status/uk11-free:11724">
</script>
<img src="http://shoutcast.mixstream.net/status/uk11-free:11724.gif" alt="Stream status" width="17" height="17" align="absmiddle">
</script>
<script type="text/javascript" src="http://shoutcast.mixstream.net/js/flash/uk11-free:11724">
</script>
</script>

<center><script type="text/javascript" src="http://ads.freestreamhosting.org/ads/uk11-free_11724.js"></script></center>

Somebody help me please?? thank you so much.
tugaradiofm
 
Posts: 2
Joined: Tue 20th Mar, 2012 3:17 am

Re: Flash Streamer

Postby Gavin » Tue 20th Mar, 2012 6:30 pm

Hi,

It looks like your code is a bit messy, it may be worth removing the extra </script> tags you have that shouldn't be there and see if that helps.
Please don't PM me for support, support system located at:
Customer Support: https://secure.bellonline.co.uk/submitticket.php
FreeStreamHosting Support: http://freestreamhosting.org/support.php
Sales: https://secure.bellonline.co.uk/contact.php
Gavin
Site Admin
 
Posts: 387
Joined: Thu 01st Jan, 1970 1:00 am

Re: Flash Streamer

Postby tugaradiofm » Tue 27th Mar, 2012 6:36 am

Gavin wrote:Hi,

It looks like your code is a bit messy, it may be worth removing the extra </script> tags you have that shouldn't be there and see if that helps.


i remove the extra </script> but nothing change the name of the music don't change i have to refresh the page all the time.
whats wrong in my code? i just copy and paste?:( can you help me please? thx.
tugaradiofm
 
Posts: 2
Joined: Tue 20th Mar, 2012 3:17 am

Re: Flash Streamer

Postby markdeejay7 » Wed 28th Mar, 2012 10:03 am

Hi tugaradiofm,
The best way to achieve this is to use PHP.

You can create an inline frame on you main page, and source the information from the PHP script that is available from the pre-configured scripts within your account. The trick is to refresh the inline frame ONLY....that way the song titles update (lets say every 2 mins), but the flash player continues to play consistently.

The required PHP script can be copied from you scripts library for you particular server.
You can see mine at work at http://www.deeplounge.co.uk

Here is my my script from the display page (this gets linked to my inline frame)...



*****Place this in the HEAD section ******


<!-- Now Playing Script -->
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function() {
$("#responsecontainer2").load("php/now-playing.php");
var refreshId = setInterval(function() {
$("#responsecontainer2").load('php/now-playing.php?randval='+ Math.random());
}, 20000);
});
</script>
<!-- END Now Playing Script -->


*****Place this in the BODY section ******

<!--Now Playing container-->
<p class="auto-style5" style="width: 93px; position: relative; left: 139px; top: 79px; height: 21px;">
<div id="responsecontainer2" class="auto-style4" style="width: 335px; height: 25px; color: #00FFFF; position: relative; left: 1px; top: -42px;"></div>
<!--END Now Playing container-->


I hope this helps.

Regards

Mark
markdeejay7
 
Posts: 16
Joined: Sun 15th Aug, 2010 1:07 pm
Location: Glasgow - UK

Re: Flash Streamer

Postby Gavin » Wed 28th Mar, 2012 4:08 pm

Good advice Mark. For anyone that doesn't already use jQuery on their websites, it's well worth checking out - it is especially useful for updating parts of a page without the need to do an old skool meta refresh.
Please don't PM me for support, support system located at:
Customer Support: https://secure.bellonline.co.uk/submitticket.php
FreeStreamHosting Support: http://freestreamhosting.org/support.php
Sales: https://secure.bellonline.co.uk/contact.php
Gavin
Site Admin
 
Posts: 387
Joined: Thu 01st Jan, 1970 1:00 am

Re: Flash Streamer

Postby thelegacy » Sun 01st Apr, 2012 1:31 am

Some of those "FREE" websites don't really allow php but will allow java. But my stations web page (the one provided) does work.

We're back again and playing REAL Album Rock

http://thelegacyfm.tk
http://uk1-free.mixstream.net/15406.htm
Classic Rock,Prog Rock,Hair Metal,Classic Alt
thelegacy
 
Posts: 78
Joined: Mon 14th Dec, 2009 11:07 pm


Return to Streaming Discussion

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest

cron