Skip to content

ozsay/plugin-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-audio

An audio plugin for systemjs loader

Installation

jspm install audio

Usage

Async

System.import('./beep.mp3!audio').then(function(beep) {
  beep.play();
});

Or Sync

import beep from './beep.mp3!audio';

beep.play();