Soundmanager2 [1] is widely used, and I've used it myself in a couple of projects.
It may be a bit to full-featured for the small thing you are trying to accomplish but you can customize it quite a bit.
You can just listen for mp3 links in the chatroom and queue it up in soundmanager.