ts-audio alternatives and similar libraries
Based on the "Video/Audio" category.
Alternatively, view ts-audio alternatives based on common mentions on social networks and blogs.
-
mediaelement
HTML5 <audio> or <video> player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers. -
ReactPlayer
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion -
SoundJS
A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback. -
AmplitudeJS
AmplitudeJS: Open Source HTML5 Web Audio Library. Design your web audio player, the way you want. No dependencies required. -
prettyembed.js
Prettier embeds for your YouTubes - with nice options like high-res preview images, advanced customization of embed options, and optional FitVids support. -
ractive-player
Library for interactive videos in React [Moved to: https://github.com/liqvidjs/player] -
jPlayer Jukebox
jPlayer Jukebox is add-on to jPlayer that allows to play media files on the page by scanning all links and adding them to a playlist.
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ts-audio or a related project?
Popular Comparisons
README
· [](./LICENSE)
ts-audio
is an agnostic and easy-to-use library to work with the AudioContext
API and create Playlists.
Features
- Simple API that abstracts the complexity of the AudioContext API
- Cross-browser support
- Makes easy to create audio playlist
- Works with any language that compiles to JavaScript
- Supports to Types
- Zero-dependecy
Installation
To install ts-audio
, execute:
$ npm install ts-audio
or
$ yarn add ts-audio
Quickstart
ts-audio
has two components at its core: Audio
and AudioPlaylist
. Both components are functions that you can call with certain parameters.
Below is an example of how to use the Audio
:
import Audio from 'ts-audio';
const audio = Audio({
file: './song.mp3',
loop: true,
volume: 0.2,
});
audio.play();
To use the AudioPlaylist
component is also quite simple:
import { AudioPlaylist } from 'ts-audio';
const playlist = AudioPlaylist({
files: ['./songOne.mp3', './songTwo.mp3', './songThree.mp3'],
volume: 0.7,
});
playlist.play();
Docs
Audio
AudioPlaylist
License
*Note that all licence references and agreements mentioned in the ts-audio README section above
are relevant to that project's source code only.