MikeFloutier 0 Posted August 28, 2006 Report 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 Quote Link to post Share on other sites
dennylin93 0 Posted September 1, 2006 Report 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. Quote Link to post Share on other sites
MikeFloutier 0 Posted September 1, 2006 Author Report 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> Quote Link to post Share on other sites
Guest caroo Posted September 17, 2006 Report Share Posted September 17, 2006 Thank cyberheavens for this forum! =D Quote Link to post Share on other sites
MikeFloutier 0 Posted September 17, 2006 Author Report 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 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.