Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

Open
damrbaby wants to merge 1 commit into goldfire:master
base: master
Choose a base branch
Loading
from damrbaby:html5-queue-fix

Conversation

@damrbaby
Copy link
Contributor

@damrbaby damrbaby commented Sep 28, 2021

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).

ajfarkas and dos1 reacted with thumbs up emoji
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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /