phetsims / vibe

Library for handling audio for PhET simulations. Provides cross-platform support and enables usage of base64 audio embedded in an HTML document.
MIT License
3 stars 3 forks source link

Sound will sometimes not work on iOS13 #39

Closed jbphet closed 4 years ago

jbphet commented 4 years ago

There is a change in iOS 13 where we are no longer able to use the user agent the same way we once did in order for the sim to be able to recognize that it is running on iOS 13. As a result, some sims can end up in a state where their sound isn't playing. The currently published versions of "Plinko Probability" and "Forces and Motion Basics" exhibit this problem. Here is the sequence to reproduce the problem on Plinko v1.1.17 (https://phet-dev.colorado.edu/html/plinko-probability/1.1.17/plinko-probability_en.html):

For me at least, this consistently failed to produce any sound, whereas the same sequence without the pre-interaction dragging works fine.

jbphet commented 4 years ago

The fix has been implemented and deployed in a maintenance release. Closing.