HTML5 Audio Peak Player With Playlist - Free HTML5 Audio Player For Everyone

Peak Player is a Free HTML5 Audio Music Player with playlist, lets you play music without worrying about different browsers and environments. HTML5 Audio Peak Player with playlist is based on Soundmanager 2 which is used by some major music websites like soundcloud and many more. HTML5 Audio Peak Player with playlist uses the HTML5 audio element for playing sounds whenever it is available, and when audio support is not found than it falls back to flash. Peak Player is capable of playing a variety of audio formats like MP3, OGG, WAV, AAC and Vorbis. Peak player is also capable of playing radio streams such as ice cast and others.

Browser Support

Firefox

Chrome

Safari

IE > 5

Demo

This is a simple demo of HTML5 Audio peakplayer

Song Name

00:23 / 03:43

HTML5 Peak Player API

addSong(songName, songUrl)
adds a song to playlist
addSongs(songsArray)
add songs to playlist
playTrack()
plays a sound
playTrack(songName, songUrl)
this will add this song name and url to the playlist and will start playing it
playTrack(songIndex)
plays a sound from the playlist on that index i.e. if 0 is given than first song will start playing
nextTrack()
plays next sound from the playlist
previousTrack()
plays previous sound from the playlist
toggleLoop()
toggles one song repeat
toggleRandom()
toggles random sound play
toggleMute()
toggles mute
onPlay(currentSongObject)
this function is called whenever a sound is played
onPause()
this function is called whenever a sound is paused
onFinish(currentSongObject)
this function is called whenever a sound finishes playing
whilePlaying(songObject, timeObject, songProgress)
this function will be called after 1 second, whenever a sound is playing
whileLoading(songObject, percentageLoaded)
this function will be called regualarly while sound is loading
getPlaylist()
returns the playlist array
getHTMLPlaylist(playlistId, playlistClass, songClass)
returns the playlist as ul > li
getCurrentSong()
returns current song object

Contact me