Search code examples
jqueryperformanceaudiodownloadjplayer

How do i make audio load faster in jPlayer?


I've customized one of the jPlayer's playlist examples. Here's what I've got so far http://www.checkmateband.net/CheckmatePlayer/

Everything works fine for me except that my audio files (mp3 or ogg) are pretty heavy and it takes them some time to load . In average 4 to 5 MB each (mp3 files are 192 kbps encoded) .

I'm currently hosting on GoDaddy.

How can I speed up the loading process?


Solution

  • on my broadband connection the music takes no longer than 1 second to kick in - perfectly acceptable.. but to speed things up you could

    • publish at a lower bitrate (e.g. or 96kpbs or 128kbps).. this is standard practise anyway to avoid "giving away" high fidelity music.
    • publish mono audio (half the download size)
    • host your audio on a dedicated CDN, e.g. Amazon S3

    See here, here and here for more details on the benefits of using a CDN.