Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Sample implementation of an HTML/JavaScript audio player.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 css
Octocat-spinner-32 dependencies
Octocat-spinner-32 images
Octocat-spinner-32 js
Octocat-spinner-32 index.html
Octocat-spinner-32 readme.md
readme.md

This is a sample implementation of an audio player using straight up HTML and JavaScript. It depends on modern audio capabilities of browsers (all major browsers should support it) and uses the buzz.js library for all audio interaction, including detection for MP3 and OGG format support.

Knockout.js is used for user interface data binding and interactions.

A lightweight audio player JavaScript object was developed (contained in js/player.js) to wrap buzz.js and handle play/pause logic, among other things.

buzz.js: https://github.com/jaysalvat/buzz

knockout.js: http://knockoutjs.com

Something went wrong with that request. Please try again.