Play Sound In Ionic App


#1

Hi
I want to know how to play sound in Ionic2 app.


#2

Hi there! Could you explain a bit more as to what you’re trying to do? Just play a sound when you click a button?


#3

Yes that can be situation ? but I need to play sound for a notification.like I set a timer ,after an inter val a function fire to check for new notifications ,if any notification found the sound play for each notification .hope this help you to understand .


#4

Sure, so for this, you can use the web-audio-api

Which would allow you to do all the things you want.


#5

@mhartington
I want to add audio sound on splash screen in ionic 2 using typescript.

Is it possible ?


#6

is there any possible solution