ober Posted December 18, 2006 Share Posted December 18, 2006 I have a request from a client to put a "radio" of sorts on their site. Something where the users can pick a genre and have it stream from another site.I'm kind of against the idea because it's for a forum... so unless I build a seperate frame, the music will restart everytime they move to a different thread. Damn.. I just thought of that and I'm not sure how I'd make it work now.Anyways... if any of you stream audio from a service (even paid), I'd appreciate the recommendations. Quote Link to comment https://forums.phpfreaks.com/topic/31096-streaming-audio-for-a-website/ Share on other sites More sharing options...
Daniel0 Posted December 18, 2006 Share Posted December 18, 2006 Another solution could be a popup window that contains a player. From there you could select the genres as well. Quote Link to comment https://forums.phpfreaks.com/topic/31096-streaming-audio-for-a-website/#findComment-143567 Share on other sites More sharing options...
ober Posted December 18, 2006 Author Share Posted December 18, 2006 ick... I'm completely against popup windows. People block them and they're annoying.I'd rather go with a frame solution. Quote Link to comment https://forums.phpfreaks.com/topic/31096-streaming-audio-for-a-website/#findComment-143577 Share on other sites More sharing options...
Daniel0 Posted December 18, 2006 Share Posted December 18, 2006 I made you a solution: http://xaos-ia.com/daniel/frames_test/Download: http://xaos-ia.com/daniel/frames_test.zipEither you need to manually add [tt]target='_parent'[/tt] to all links or you need to fix my javascript in real_index.php. You might want to put the javascript in a file for itself as well. Additionally you need to make a noframes version so people with no support for frames, frames turned off or search engines can access the page. Quote Link to comment https://forums.phpfreaks.com/topic/31096-streaming-audio-for-a-website/#findComment-143636 Share on other sites More sharing options...
ober Posted December 18, 2006 Author Share Posted December 18, 2006 .... this does what, exactly? Quote Link to comment https://forums.phpfreaks.com/topic/31096-streaming-audio-for-a-website/#findComment-143660 Share on other sites More sharing options...
Daniel0 Posted December 18, 2006 Share Posted December 18, 2006 What you requested. The thing is that if you just just frames you will break things such as bookmarking, so you will need some way to pass the GET variables to the frame and make links' target _parent. I just figured out though that this will in fact restart the streaming, so you can choose to break the bookmark feature and keep the links' targets as default.Unfortunately, I think the best would be a popup window. Quote Link to comment https://forums.phpfreaks.com/topic/31096-streaming-audio-for-a-website/#findComment-143670 Share on other sites More sharing options...
ober Posted December 18, 2006 Author Share Posted December 18, 2006 Yeah... I don't know. I'll have to run it past the client.And you're right, what you posted will restart the streaming. Quote Link to comment https://forums.phpfreaks.com/topic/31096-streaming-audio-for-a-website/#findComment-143681 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.