web-audio-ios

1.0.2 • Public • Published

web-audio-ios

unlock web audio in ios/safari/whatever

an npm-ified version of How to: Web Audio on iOS by Paul Bakaus

NPM js-standard-style

EXAMPLE

var wai = require('web-audi-ios') wai(document.body, yrAudioContext, function (unlocked) { console.log(unlocked, 'yay audio is unlocked now! do yr thing!') // if for some reason unlocked is false, then something strange has happened and u should handle that })

Package Sidebar

Install

npm i web-audio-ios

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • coleww