Library / SDK
serversideup/amplitudejs avatar
serversideup/amplitudejs

AmplitudeJS swaps the browser audio control for markup you control

AmplitudeJS: Open Source HTML5 Web Audio Library. Design your web audio player, the way you want. No dependencies required.

4,320 stars419 forksJavaScriptMIT

At a glance

What is it?
AmplitudeJS is a dependency-free JavaScript library that replaces the native HTML5 audio element with player elements you style yourself, at the cost of a build toolchain pinned to old tooling and no tagged release since 2021.
Who is it for?
AmplitudeJS fits a page where the native control bar breaks the design and someone on the team will own the markup, the stylesheet and the built file in dist/. It does not fit work that depends on a current dependency tree, on newer browsers without checking the Web Audio API, or on a stream type the documentation never names.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 143 days ago.
What is it written in?
Mainly JavaScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • serversideup/amplitudejs4,320 ★ · +2
Star history
Repository2026-09-232026-11-22
serversideup/amplitudejs4.3k4.3k

2 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The problem is the browser's own audio element

Every HTML5 audio element ships with a control bar the page author cannot restyle in any consistent way. Chrome draws one set of buttons, Safari another, and the differences show up on every screen a user visits. AmplitudeJS exists to remove that element from the page and hand the control surface back to the developer. Its description states the aim plainly: control the design of your media controls in your webpage, not the browser. The audience is narrow. Front-end developers with a design system their own player has to match, who need to write the markup for a play button, a progress bar and a volume control themselves. The README claims customizable design of all player elements, multiple playlists, waveform and visualization generation through the Web Audio API, live streaming support, and public functions for unlimited control. It claims nothing about audio analysis accuracy, streaming backends or mobile shells. The last push to the repository was on 2026-07-02, so the code itself is not frozen.

Zero dependencies means zero framework assumptions

package.json lists nothing under dependencies. The entire devDependencies block is build tooling: babel-core at ^6.26.3, babel-loader at ^7.1.5, babel-preset-es2015 at ^6.18.0, webpack at ^2.7.0, jest at ^23.6.0, prettier pinned to 1.15.1, husky at ^1.3.1 and pretty-quick. Those versions are old enough that a current setup guide will not cover them, and that tells you the runtime story and the build story have already separated. A page loads one file and gets a player. A contributor clones the repo and runs a Babel 6 and webpack 2 pipeline. The library never asks for jQuery, which was the near-universal convention for audio players of its generation, and that single decision is what lets it attach to any page. At runtime the cost is one prebuilt file: the entry point is dist/amplitude.js, and the files array ships only dist, so consumers receive a bundle rather than a module tree they have to compile against.

Waveforms come from the Web Audio API, not from a file

The README attributes waveform and visualization generation to the Web Audio API. That is the mechanism behind the feature list entry for autogenerated waveforms, and it matters for anyone planning an implementation. So the visual depends on the browser supporting the Web Audio API. The README browser table covers IE11 and Edge, Firefox 4.0+, Chrome 3.5+, Safari 4.0+ and Opera 10.5+, but that table states which browsers are supported, not which of them hand you an audio graph a waveform can be drawn from. Nothing in the repository files listed at the top level, from webpack.config.js to .babelrc, exposes a fallback, and the README does not document a polyfill. If your audience includes older browsers, verify that before committing.

Where to get the library, since the README has no install command

The Installation section of the README holds prose and a link, not a command. It says installation is a breeze on how you want to use it and points to the installation instructions on the project's documentation site at serversideup.net. The Documentation and Usage section does the same, noting that the documentation also lives in the docs folder inside the repository. The package is published on npm as amplitudejs, and the README badges link to both the npm listing and the jsDelivr CDN listing, which is where you would go for a hosted copy. Take the exact instruction from the project's own installation page, and notice that the project leaves the choice of how to consume it deliberately open rather than naming one supported path.

The published package is v5.3.2 and the repository is not

Here is the contradiction a skim misses. The three most recent GitHub releases are v5.3.0 on 2021-02-15, v5.3.1 on 2021-04-01 and v5.3.2 on 2021-06-11, and package.json in the repository root still reads 5.3.2. Master, meanwhile, carries commits through 2026-07-02, more than five years later. So the latest tagged release is from 2021, while the repository has been pushed to since. That gap has direct consequences. You cannot install the repository through npm without building it yourself with the version script in package.json, which runs the build and then stages dist. Version numbers in a bug report describe 2021 behaviour. And the version field in package.json tells you nothing about how current master is. Anyone evaluating this library should treat the published package and the git history as two different products and decide which one they actually want.

Live streaming is a claim the docs do not qualify

The feature list includes live streaming support. No repository file listed at the root, no README section and no package.json field describes what that means: whether the library wraps HLS or a shoutcast-style stream, whether buffering behaves differently for a live source, or whether seek and duration display are suppressed for a source with no fixed length. The only other pointer is a professional-help link in the feature list and a support section that leads to a help page rather than documentation. If a stream is your use case, test that first, because it is the ground with the least description under it. The public functions advertised as unlimited control are the other half of the picture, but nothing here enumerates them; the README routes you to the docs site for that list. The repository does keep tests under tests/ with jest.config.js at the root, so there is a suite to read, though the README does not state what it covers.

How AmplitudeJS differs from the Howler.js approach

Howler.js takes the opposite route. It also hides the audio element's own controls, but its centre of gravity is a small playback API that behaves consistently across browsers, with volume and rate control on top. AmplitudeJS spends its effort on the presentation layer and on playlist handling, and expects you to supply the visible markup, with multiple playlists treated as a first-class case. Choose Howler.js when you want a playback engine with minimal ceremony. Choose AmplitudeJS when the player is a designed part of the page and you have decided exactly how it looks. Licence terms follow from that choice and are worth checking against your own obligations: AmplitudeJS is MIT, so nothing in the terms blocks commercial use.

Editorial conclusion

AmplitudeJS fits a page where the native control bar breaks the design and someone on the team will own the markup, the stylesheet and the built file in dist/. It does not fit work that depends on a current dependency tree, on newer browsers without checking the Web Audio API, or on a stream type the documentation never names. It does not fit a team that installs from npm and expects to receive the same code as master. Verify three things before adopting it: that the docs site installation method you intend to use still resolves, that the Web Audio API behaves for your target browsers, and that the private methods behind the public functions cover the streaming case you care about. If those three hold, ship it. If the first fails, the Howler.js API is a smaller surface to learn.

Frequently asked questions

What is AmplitudeJS?

It is a lightweight JavaScript library with no dependencies, including no jQuery, that lets you control the design of your media controls rather than using the browser's own. It supports multiple playlists, Web Audio API waveforms and live streaming, and it is MIT licensed.

How do I install AmplitudeJS?

The README gives no install command. Its Installation section links to instructions on the project's documentation site and says installation is flexible on how you want to use it. The package is published on npm as amplitudejs.

Which browsers does AmplitudeJS support?

The README browser table lists IE11 and Edge, Firefox 4.0 and up, Chrome 3.5 and up, Safari 4.0 and up, and Opera 10.5 and up.

Is AmplitudeJS still being updated?

The repository is not archived and its last push was on 2026-07-02. The published releases are older: v5.3.0 on 2021-02-15, v5.3.1 on 2021-04-01 and v5.3.2 on 2021-06-11, and package.json still reads 5.3.2.

Does AmplitudeJS need jQuery or any other dependency?

No. The project states no dependencies and that jQuery is not required. The devDependencies in package.json are build tooling such as babel-core, webpack and jest, not runtime requirements.

Official sources

  1. License: MIT
  2. Project website
  3. README
  4. Releases
  5. serversideup/amplitudejs on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/serversideup-amplitudejs.svg)](https://hysenlabs.com/projects/serversideup-amplitudejs)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/serversideup-amplitudejs.svg)](https://hysenlabs.com/projects/serversideup-amplitudejs)

Was this useful?