Click to See Complete Forum and Search --> : Help with audio


CookieB
05-08-2006, 10:53 AM
I am working on a web site for a friend (not my normal field of experience) and he wants to be able to play some music. I have achieved this by using an EMBED element with the mp3 file set as source. This works but the music starts, stops then continues several times in playing. Is this a problem with the bandwidth of the server? Or is there some way of buffering so that the play is continuous. It is really important to him to have the music play after clicking a pop-up link.

The test url is at www.cookfamilypreserves.co.uk/music.html

Thanks for any help/info

Alan

CrazyMerlin
05-16-2006, 01:52 AM
this is because you are not setting up any buffering.

the file will start to play as soon as the page is opened, but then will need to download another few K and play that, then it will do so over and over.

you need to buffer some of the file, then as it is playing you get some more and buffer that and so on.

you lower the bandwidth the more you need to consider buffering.

if you use an object instead of just an embed, it will most likely take care of it for you.

you can use flash, it's fairly simple to set it up to just play a file.