I am using howler.js to play audio and declaring instance as
sound = new Howl({
src: ['../assets/test.mp3'],
html5: true,
onpause: () => {
this.playButton = true;
} });
All works fine but when audio is played , chrome android shows notification of song playing, and when we pause audio through notification it is not detected by howler.js.
Please let me know how to detect it in our code.