Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5 mode fails to stop sprite playback when sound played repeatedly #1521

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

damrbaby
Copy link
Contributor

After upgrading Howler from 2.2.1 to 2.2.3, and using HTML5 mode on Safari 15 as a work-around for Catalina (#1513), I identified a bug where audio sprites fail to stop playback after the desired sound has played:

  1. Play a sound from an audio sprite over and over again in HTML mode, so that the sound plays again while the previous sound is already playing.
  2. Keep doing this until you observe that the audio sprite fails to stop playing, and continues to play through the rest of the audio file, confusing end users with all of the unexpected sounds!

This is always an issue on Internet Explorer 11 with the latest howler version, since IE uses HTML5 audio.

I identified this as a regression from 0323af9 (fix for #1439). I do not know if this PR will re-introduce that bug. It definitely solves this new issue though (I'm using this fix in production and confirmed it solves the problem on Safari 15 with HTML5 mode and IE11).

@goldfire
Copy link
Owner

Unfortunately, this change reverses what fixed #1439 and causes that issue to start happening again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants