MikeFloutier Posted August 28, 2006 Share Posted August 28, 2006 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 More sharing options...
dennylin93 Posted September 1, 2006 Share Posted September 1, 2006 Maybe you can try using the <embed> tag. It isn't valid HTML or XHTML, but it works on IE and Firefox. I haven't tried any other browers though. I will try to look up more info. Link to comment Share on other sites More sharing options...
MikeFloutier Posted September 1, 2006 Author Share Posted September 1, 2006 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 More sharing options...
Guest caroo Posted September 17, 2006 Share Posted September 17, 2006 Thank cyberheavens for this forum! =D Link to comment Share on other sites More sharing options...
MikeFloutier Posted September 17, 2006 Author Share Posted September 17, 2006 Thank cyberheavens for this forum! =DHi 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now