You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am using Howler js library for playing audio. Using this library audio is playing fine in all browser windows, linux, macbook system even it goes to sleep mode or screen locked But for i phone it's not working when it's goes to sleep mode or screen locked.
There is smth like Media Sesison, which is responsible for media on locked screens etc. I had same issue with other lib and i set up this and it worked, not sure if thats the case for you, but worth check it out. Also you can add handlers for widget when phone is locked and add art image etc.
The Problem
i am using Howler js library for playing audio. Using this library audio is playing fine in all browser windows, linux, macbook system even it goes to sleep mode or screen locked But for i phone it's not working when it's goes to sleep mode or screen locked.
Reproducible Example
No response
Reproduction Steps
const sound = new Howl({
src: [this.audioLink],
format: ['wav', 'webm', 'mp3'],
html5: true,
autoplay: true,
volume: 0.7,
onend: () => {
this.audioEnded();
},
});
Possible Solution
No response
Context
No response
Howler.js Version
v2.2.4
Affected Browser(s)/Versiuon(s)
No response
The text was updated successfully, but these errors were encountered: