Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Nov 2001, 04:33
DeepFriedComics DeepFriedComics is offline
 
Join Date: Nov 2001
Question Streaming audio?

I'd like to set up a script (say..."audio.php" for example) that when users visit that page (via a link) their default audio player opens and plays the file (streaming).

Never really messed with audio before, not sure how it works. Anybody have any ideas?
Reply With Quote
  #2  
Old 01 Nov 2001, 04:43
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
javascript not php
Reply With Quote
  #3  
Old 01 Nov 2001, 18:22
DeepFriedComics DeepFriedComics is offline
 
Join Date: Nov 2001
I remember seeing something like this done with php and i'd like to go that route if possible.
Reply With Quote
  #4  
Old 01 Nov 2001, 20:36
apfeifer apfeifer is offline
 
Join Date: Nov 2001
Hmm, I'd think you would do this with JavaScript also, if you find the PHP way of doing it please post it here so I can see it. Thanks!

Reply With Quote
  #5  
Old 01 Nov 2001, 21:11
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Real name: Chris
Um, this has really nothing to do with JavaScript or PHP. Example: JerryBowyer.com (yeah, I built it. What of it? ). Check it out...streaming WMA and RAM files...there's no JavaScript involved, and the PHP is only used to produce the links and manage the audio files. The actual link itself is just a plain old link to the file...the rest, the program (Windows Media Player, or RealPlayer) handles itself.
__________________
Ask me about how to purchase vB Quiz for vBulletin 3.7 (works with 3.8, too)!

Websites: Movie Forums | Go Quiz
Reply With Quote
  #6  
Old 01 Nov 2001, 21:46
apfeifer apfeifer is offline
 
Join Date: Nov 2001
Hm, I wonder what I was thinking, it's pretty obvious isn't it? Well, seeing my answer was wrong, your best bet would be to do what TWTCommish said. I must have had a blonde moment or something, even though I'm not blonde.

Reply With Quote
  #7  
Old 02 Nov 2001, 00:26
DeepFriedComics DeepFriedComics is offline
 
Join Date: Nov 2001
That's exactly what i'm looking for Commish.

Mind enlightening me on the exact process?
Reply With Quote
  #8  
Old 02 Nov 2001, 01:15
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Real name: Chris
It's pretty simple: create the .rm audio file, and upload it wherever you want on your webserver. I'll assume the file is called "myfile.rm", and that it has been uploaded to www.somesite.com/myfile.rm. Then, create a file called "myfile.ram" (not the "a" there in the middle...not just "rm")...enter this into the file with your favorite text editor:

pnm://www.somesite.com/myfile.rm

Then, just link to "myfile.ram" anywhere on your site, and clicking on it should allow it to stream. I dunno if it would work ANYWAY, but I've read that the .ram file with that little "pnm" thing sort of redirects it to the other file. Odd, I know. With .wma files, just upload them and link to them...the streaming should handle itself. At least, it works for me.
__________________
Ask me about how to purchase vB Quiz for vBulletin 3.7 (works with 3.8, too)!

Websites: Movie Forums | Go Quiz
Reply With Quote
  #9  
Old 11 Mar 2007, 00:48
JorgeX JorgeX is offline
 
Join Date: Oct 2005
Originally Posted by TWTCommish View Post
It's pretty simple: create the .rm audio file, and upload it wherever you want on your webserver. I'll assume the file is called "myfile.rm", and that it has been uploaded to www.somesite.com/myfile.rm. Then, create a file called "myfile.ram" (not the "a" there in the middle...not just "rm")...enter this into the file with your favorite text editor:

pnm://www.somesite.com/myfile.rm

Then, just link to "myfile.ram" anywhere on your site, and clicking on it should allow it to stream. I dunno if it would work ANYWAY, but I've read that the .ram file with that little "pnm" thing sort of redirects it to the other file. Odd, I know. With .wma files, just upload them and link to them...the streaming should handle itself. At least, it works for me.

Hi, how can i create theplaylist for my web mp3 fileS?
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Profile Enhancements Embed (MP3's, WMA, WMV, Streaming Audio and Video Ect..) In Profile WITH Visualizer MiahBeSmokin420 vBulletin 3.6 Template Modifications 23 30 Sep 2008 08:44



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:59.

Layout Options | Width: Wide Color: