PDA

View Full Version : Radio with PHP Includes



Lilian
03-07-2007, 06:28 PM
Hello people :),

I don't think there is actually away to fix this other then use iframes but I never know there maybe a way I can do it so that is why I am asking you!

Heres the problem:

Im using PHP includes as I find it much much better than iframes. BUT (the big but) the radio player jumps everytime you swop page so it stops then when that page has loaded it starts. Is there away of fixing this?

Thanks

Mr Macro
03-07-2007, 07:15 PM
Iframes would be the best solution.

Lilian
03-07-2007, 07:42 PM
Its an expanding layout. So unless someone can post a tutorial about it or direct me to one :S?

Luckyrare
03-07-2007, 07:53 PM
Use javascript - ajax

Dentafrice,
03-07-2007, 08:00 PM
Ajax? I think Mentor posted a code earlier showing exactly how to do it.


Otherwise make a popup with the radio player in it?

Lilian
03-07-2007, 08:02 PM
AJAX Sounds good. Ill try searching the forum for it.

CDLewis
03-07-2007, 09:17 PM
Try streaming at a slightly lower bitrate. You might be straining it too much.

Im not really familiar with shoutcast etc...

Dentafrice,
03-07-2007, 09:37 PM
What does that have to do with what she is asking

CDLewis
03-07-2007, 09:41 PM
the radio player jumps everytime you swop page so it stops then when

It is aimed at that and like i said im not familiar with radio stuff

Dentafrice,
03-07-2007, 09:48 PM
It is not aimed at that, it is aimed at the radio player stopping as she is using PHP includes for the pages:
?page=blabla

and not inlineframes.

Nothing to do with bitrate. Nothing to do with it playing, just it stops when the page is switched

Mr Macro
04-07-2007, 09:50 AM
Yeah AJAX would be good, or a pop-up like Dentafrice, said.

You could also use expanding iFrames.

Want to hide these adverts? Register an account for free!