aframevr / aframevr/aframe

[docs] Describe state of mobile audio support

Open
#2,955 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

mobile
Dominant language
JavaScript
Stars
17.6k
Forks
4.4k
PR merge metrics
No merged PRs in 30d

Description

Lots of questions in Slack about audio support on mobile, whether there is a workaround for playing without user gesture, etc. We should have a note, either in the FAQ or the sound component docs, explaining current state-of-affairs on this.

Personally, I'm not actually sure of the fully story myself. I think that audio without a gesture is completely impossible on iOS (although you can use an audio sprite started when the scene loads with a gesture). Is that also true on Mobile Chrome? Or can the gesture requirement somehow be worked around there?

/cc @dirkk0 + #1463

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the FAQ and sound component documentation, then use the discussion around #1463 as context. Verify the current gesture requirements for audio on iOS and Mobile Chrome, including the mentioned audio-sprite workaround, and document the supported behavior and workarounds in the selected location.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, mobile-dev
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.