Open BryanWilhite opened 5 years ago
it looks like the cool kids are using Howler: https://github.com/goldfire/howler.js/issues/727
npm i --save howler
npm i --save-dev @types/howler
import { Howl } from 'howler'
@Component({
selector: 'page-welcome',
templateUrl: 'welcome.html'
})
export class WelcomePage {
constructor(public navCtrl: NavController) {
var sound = new Howl({
src: ['http://server8.mp3quran.net/ahmad_huth/001.mp3'],
html5 :true
});
sound.play();
}
}
there was activity for
audio5js
development last year and coverage for theAudio
element is upwards of 95%