Jump to content

Streaming audio


MikeFloutier

Recommended Posts

Hi,I'm trying to get audio files of 3 to 5 minutes to stream in a web page. I need to get them to stream as some people will be viewing at dial-up rates and would have to wait too long before starting to play the files otherwise.Up to now I've been using:<object align="top" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> <param name="AutoStart" value="0" /> <param name="FileName" value="waves/audio file.wav" /> </object>I was happy with this until I started to think about users with slower connections; so I need to stream.The audio files I've been using at present are 4 bit wave files at 32kbps.Looking at the Windows Media Player reference on this site, I thought that streaming was on by default but it doesn't seem to be happening. What am I doing wrong do you think?ThanksMike

Link to comment
Share on other sites

Thanks for that Denny. I've been scratching around quite a bit on this during the week and, with a lot of help, have finally got something that will stream audio in IE and Firefox and works well at dial-up rates.Mike

<object classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" type="application/x-oleobject"	   codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"		standby="Loading Microsoft Windows Media Player components..."		width="60" height="32">		 <param name="Autostart" value="false">		 <param name="volume" value="100">		 <param name="url" value= "Waves/<?php echo $exhortation_wma; ?>"		 <p>		  ActiveX is not installed or is not working properly.		  If you are using Firefox, please refer to the following Guide:		  <a href="http://forums.mozillazine.org/viewtopic.php?t=206213">		   Embedded Windows Media in Firefox		  </a>		 </p>	   </object>

Link to comment
Share on other sites

  • 3 weeks later...
Thank cyberheavens for this forum! =D
Hi caroo,If like me you're new to this you may find http://musicplayer.sourceforge.net/ helpful.The code I posted previously didn't seem to work on Opera and presumably not on Macs/Safari since it uses Windows Media Player. The music player on the sourceforge site was recommended to me by justsomeguy and I'm much happier with it. It's something to do with Flash (which I could pretend to understand - hehe) and it works on Opera as well as IE and Firefox; also my friend who has a Mac says he tried it and it works fine on his Safari browser.Mike
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...