Web Development

Streaming audio – arissa_nightblade

arissa_nightblade

Member

Posts: 70
From:
Registered: 02-10-2007
I'm trying to figure out how to put streaming audio on a website. I never did this before, only provided links to download it. How do you actually stream it from the website? Thanks in advance.
CPUFreak91

Member

Posts: 2337
From:
Registered: 02-01-2005
quote:
Originally posted by arissa_nightblade:
I'm trying to figure out how to put streaming audio on a website. I never did this before, only provided links to download it. How do you actually stream it from the website? Thanks in advance.

You need a streaming server on the web site such as gnump3d. Check out your hosting plan's goodies (unless you created your own server) to see if they mention a streaming server.

------------------
All Your Base Are Belong To Us!!! chown -r us ./base
"After three days without programming, life becomes meaningless.'' -- Tao of Programming Book 2

"Oh, bother," said the Borg. "We've assimilated Pooh."

"Socialism works great... if there are no people involved." -- Pastor David Ginter, Union Church of Guatemala.

My Programming and Hacker/Geek related Blog

MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
is this just a little sound clip you want them to be able to play/pause/stop but not download or is this like a live broadcast?
arissa_nightblade

Member

Posts: 70
From:
Registered: 02-10-2007
it's just a little sound clip. Like maybe 30 seconds worth of a sound sample.
Randall
Member

Posts: 44
From: Sacramento, California, USA
Registered: 06-19-2007
this tool does that and more below. i will buy it soon...

http://www.swishzone.com/index.php

MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
You could easily stick it into a little flash player

(ex: http://www.ducksoupcmms.com - I made it myself in flash, nothing fancy)

or use a regular ol' <embed> tag in your HTML

(ex: http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html ).


You could also upload the file somewhere then setup a
playlist with http://www.projectplaylist.com/ .

There is a section where you can specify the URL to insert in your playlist.

The site will then give you the code for their player (to which you can customize the colors and stuff on).

Here's the code for my playlist I had on my MySpace site for a while (sorry for the long line of code)...


<div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450;">
<embed
style="width:435px; visibility:visible; height:270px;"
allowScriptAccess="never"
src="http://www.musicplaylist.us/mc/mp3player.swf?config=http://www.musicplaylist.us/mc/config/config_black_noautostart.xml&mywidth=435&myheight=270&file=http://www.musicplaylist.u s/loadplaylist.php?playlist=4294455"
menu="false"
quality="high"
width="435"
height="270"
name="mp3player"
wmode="transparent"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
border="0"/>
<BR><a href=http://www.musicplaylist.us>
<img src=http://www.musicplaylist.us/mc/images/create_black.jpg border=0></a>
<a href=http://www.musicplaylist.us/standalone/4294455 target=_blank>
<img src=http://www.musicplaylist.us/mc/images/launch_black.jpg border=0></a>
<a href=http://www.musicplaylist.us/download/4294455>
<img src=http://www.musicplaylist.us/mc/images/get_black.jpg border=0></a>
</div>

[This message has been edited by mastallama (edited July 27, 2007).]

arissa_nightblade

Member

Posts: 70
From:
Registered: 02-10-2007
Thank you for this! I will try it out.
MastaLlama

Member

Posts: 671
From: Houston, TX USA
Registered: 08-10-2005
Hey arissa_nightblade,

How did things work out for you? Did you get things going? Have you had any problems with it?