Skip to content

Latest commit

 

History

History

installation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
title meta
Installation - AmplitudeJS Documentation
name content
description
Amplitude.js is the HTML5 audio player for the modern era. Using no dependencies, take control of the browser and design a web audio player the way you want it to look.
name content
og:locale
en_US
name content
og:type
website
name content
og:title
Amplitude.js The Open Source HTML5 Audio Player for the Modern Era
name content
og:description
Amplitude.js is the open source HTML5 audio player for the modern era. Using no dependencies, take control of the browser and design an audio player the way you want it to look.
name content
og:site_name
Amplitude.js
name content
og:image:width
1200
name content
og:image:height
630
name content
twitter:card
summary_large_image
name content
twitter:description
Amplitude.js is the open source HTML5 audio player for the modern era. Using no dependencies, take control of the browser and design an audio player the way you want it to look. Available for free on Github.
name content
twitter:title
Amplitude.js The HTML Audio Player for the Modern Era
name content
twitter:site
@521dimensions
name content
creator
@521dimensions

Installation

## Option 1: Use CDN from [jsDelivr](https://cdn.jsdelivr.net/npm/amplitudejs/) No installation is required to use Amplitude.js. All you need to do is include a single line in your `` section of your HTML page.

Replace {{'version-number'}} with the exact version number that you would like to use (see our releases for what version number to use):

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/amplitudejs@{{version-number}}/dist/amplitude.js"></script>

NOTE: It's best to set your version number manually to make sure you have full control of what version you are running. If you need to upgrade in the future, just change {{'version-number'}} to the latest version.

Option 2: Automatic install via npm

Download it via NPM to your existing project:

npm install --save amplitudejs

You will see the file under node_modules/amplitudejs/dist/amplitude.js.

Option 3: Manual download

Download the amplitude.js file from our releases page and include the file manually with your project.

Amplitude.js is now available for use! All that's left is initializing →.