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

Sound sometimes gone or delayed in full-screen on Safari #82

Open
rea-laura opened this issue Jan 24, 2019 · 2 comments
Open

Sound sometimes gone or delayed in full-screen on Safari #82

rea-laura opened this issue Jan 24, 2019 · 2 comments
Labels
priority:5-deferred type:bug Something isn't working

Comments

@rea-laura
Copy link

rea-laura commented Jan 24, 2019

Test Device

Dirac

Operating System

MacOS 10.12.6

Browser

Safari 12.0.2

Problem Description

For phetsims/qa#259
Sound sometimes disappears in full-screen mode. May be related to phetsims/resistance-in-a-wire#190, but happens much more frequently than I observed in resistance in a wire, and is seen in the original sim, iFrame, and XHTML. Only happens in Safari - not yet observed in Chrome or Firefox.

Steps to Reproduce

  1. open sim in Safari
  2. interact in a way that causes a sound. Note that there is sound
  3. put sim in full-screen mode. Try to make a sound again. Often, the sound is now inactive.
  4. if the sound is now inactive, exit full-screen mode. Note that the sound is still inactive.
  5. switch to another tab in the browser, then switch back. Sometimes, switching back to the sim tab will cause the sound that failed to play earlier to suddenly occur.
  6. if this doesn't reproduce issue, try again.
@rea-laura rea-laura added the type:bug Something isn't working label Jan 24, 2019
@rea-laura rea-laura changed the title Sound sometimes gone in full-screen on Safari Sound sometimes gone or delayed in full-screen on Safari Jan 24, 2019
@ariel-phet ariel-phet removed their assignment Jan 24, 2019
@ariel-phet
Copy link

We will investigate after 1.0 is published, not a blocking issue

@jbphet
Copy link
Contributor

jbphet commented Jan 30, 2019

This is almost certainly due to the same problem seen in phetsims/resistance-in-a-wire#190 where the audio context goes into an "interrupted" state. The Fractions sim uses the older vibe library, this probably should go away when we port it to use tambo, see phetsims/vibe#33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:5-deferred type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants