Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On Safari/WebKit, loading the invitation music through the application cache's
blob:URL can fail withMEDIA_ERR_SRC_NOT_SUPPORTED, even though the same MP3 plays when loaded from its original URL. The current code also leaves the music button disabled ifaudio.play()rejects, preventing the user from retrying playback.This is reproducible against the current
4.xaudio module and its bundledassets/music/pure-love-304010.mp3in Playwright WebKit on Windows.Changes
Audio now relies on the browser's native HTTP/media caching instead of the application's forced blob cache.
Validation
4.x(99e7c2d) using its actual audio/progress/cache modules and bundled MP3 in an isolated browser fixture with the cache pool initialized.js/app/guest/audio.js.js/*.js.The browser tests ran on Windows; this does not claim verification on a physical iPhone or macOS Safari. The temporary regression harness is external to this focused, single-file patch.