vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Streaming audio? (https://vborg.vbsupport.ru/showthread.php?t=31963)

DeepFriedComics 11-01-2001 03:33 AM

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?

MrLister 11-01-2001 03:43 AM

javascript not php

DeepFriedComics 11-01-2001 05:22 PM

I remember seeing something like this done with php and i'd like to go that route if possible.

apfeifer 11-01-2001 07:36 PM

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!

:cool:

TWTCommish 11-01-2001 08:11 PM

Um, this has really nothing to do with JavaScript or PHP. :) Example: JerryBowyer.com (yeah, I built it. What of it? :D). 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.

apfeifer 11-01-2001 08:46 PM

Hm, I wonder what I was thinking, it's pretty obvious isn't it? :p 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.:D

:cool:

DeepFriedComics 11-01-2001 11:26 PM

That's exactly what i'm looking for Commish.

Mind enlightening me on the exact process?

TWTCommish 11-02-2001 12:15 AM

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. :D With .wma files, just upload them and link to them...the streaming should handle itself. At least, it works for me. :)

JorgeX 03-10-2007 11:48 PM

Quote:

Originally Posted by TWTCommish (Post 197442)
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. :D 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?


All times are GMT. The time now is 11:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00968 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete