Play multiple songs on a webpage
2 answers
Without Flash, you are tied to the new HTML5 method <audio/>
, which is supported in Firefox 3.5+, Safari 4+, Chrome 3+, and Opera 10+. Here's an example:
<audio src="path/to/some/audio.file" autoplay>
This is a fall back for old browsers, here you could implement a Flash based audio player
</audio>
I'm not sure if it is possible to continue playing the song when the next page is opened, perhaps you can store player data in a cookie.
+3
a source to share
Here's a similar question with some good answers. The comments in this question also list many duplicate questions. Many of these answers require HTML5. There are also various Flash based answers .
If you want the song to continue on the next page, you'll need to use frames (easy) or make your site completely AJAX-driven (more tedious).
+2
a source to share