Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Reset Audio Object
- this.audioPlayer.src = null;
- this.audioPlayer.load();
- var file = Mojo.appPath + 'audio/'+name;
- Mojo.Log.error("Playback file:" + name);
- this.audioPlayer.src = file;
- this.audioPlayer.play();
Add Comment
Please, Sign In to add comment