Music stops in the middle of the song
Author: Eric T.
Visited 1352,
Followers 1,
Shared 0
Music is stopped in the middle of the song. On our website we publish music. (http://www.robilse.nl) When pages are loaded songs are only partly loaded. This means that songs stop suddenly. It does so online (Mac and Windows and Safari, Firefox, Explorer and Chroma) but also local in the preview from WebsiteX5. Does anybody know how to fix this?
Posted on the
Hello Eric,
Can you please tell me what Version of the program are you using and what file types are you using?
On the website there's no project to see what exactly happens.
Many thanks!
Author
Hello,
I am using Website X5 Free 10.
HTML/Widget object:
<audio controls preload="auto" autobuffer>
<source src="song.mp3" />
<source src="song.ogg" />
<source src="song.wav" />
The browser is not compatible with HTML5 audio.
</audio>
You need here 3 types of files for all browsers.
Parameters:
controls = Player-Skin
autoplay = automatic play
autobuffer = Buffer for Song
loop = repeating
Author
I switched to Evolution. Problem still occurs. @Little-Key - I might try your suggestion, but it should work properly. So I hope developpers will solve the problem.
This works.
<audio preload="auto" autobuffer autoplay>
<source src="videos/Rob-en-Ilse---Seven-Years_0n703ts3.mp3" />
<source src="videos/Rob-en-Ilse---Seven-Years_0n703ts3.ogg" />
<source src="videos/Rob-en-Ilse---Seven-Years_0n703ts3.wav" />
The browser is not compatible with HTML5 audio.
</audio>
All browsers have integrated a player.
Hi Eric,
How large are your audio files? In the past I have noticed that if an audio file is too big then the buffering which occurs whilst the track is being loaded can cause similar problems to the one which you describe.
You might want to try recoding your audio files with a lower bitrate to reduce their file size, in order to improve file streaming.
The issue is not necessarily a problem with X5 per se.
Kind regards,
Paul
Author
Hi Paul,
Files are from 4.1 untill 10.7 Mb. The error can occur to all files. Bitrate is 192Kbps. I'll try a lower bitrate. What do you suggest?
Kind regards,
Eric
Hi Eric,
To be honest those file sizes and bitrates look OK - I don't think that's the cause of your problem in this instance, although you could try recoding one or two tracks at 128Kbps to see if streaming improves.
It is an odd problem... I will see if I can think of anything else!
Hello Eric,
I tested the file and it's working also online after many refresh because it seems that it takes to long to load and it get's interrupted because of a timeout. Probably the server takes to long to stream it. You can try to reduce the bitrate so the file is smaller and also use a constant bitrate to have a defined size for the server when it's streamed.
Please let me know if this helps.
Further to what Claudio has suggested, you might want to look at investing in a better host (i.e. one with a faster server) - this should make a BIG difference to file streaming.
Author
I don't think that the webhosting is the problem. If I use the preview function in WebsiteX5 Evolution I have the same problem. The preview screen uses files on my harddisk, so there are no connectivity problems.
Hello Eric,
Please try to downsample the file and then uninstall the program and install the latest version you find in your answers.websitex5.com profile and then try again to see if the same issue persists. In the preview, the browser emulates a webserver, where the file has to be streamed and so it could depend also only on the file compression.
Please keep me updated.