Skip to content
A cordova plugin that exposes a native audio object that mimics the HTML5 Audio object's API
Java Objective-C JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
android/fm/ex/android
ios
test
.gitignore
.jshintrc
README.md
index.js
package.json

README.md

iex-audio

This object provides access to a native audio player that mimics the HTML5 Audio API. (iOS) In Cordova.plist/Plugins, add this mapping (key:IEXAudio, value:IEXAudio)

Install

 npm install iex-audio

Testing

git clone 
npm install
open test/index.html

Usage

var audio = new IEXAudio();
audio.src = 'file.mp3';
audio.load();
audio.addEventListener(
    'canplay',
    function(e){
        audio.play();
    }    
)
Something went wrong with that request. Please try again.