Unlock html audio one time
Open
Nobody has claimed this yet.
🎵 Audio
- Dominant language
- JavaScript
- Stars
- 40.3k
- Forks
- 7.2k
- PR merge metrics
- No merged PRs in 30d
Description
On ipad Safari, Here is a test case.
- SceneA and SceneB load html5 audio individually.
- SceneA can play sound after touch event
- SceneB needs touch event to unlock loaded html5 audio.
Is it possible unlock html audio one time, instead of unlock per-scene?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodePen test case and reproduce the iPad Safari behavior with SceneA and SceneB. Trace Phaser's HTML5 audio handling to determine whether one touch event can unlock audio across scenes; done means both scenes play loaded audio after a single user gesture.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100