New issue
Advanced search Search tips
Starred by 17 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2012
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Feature

Blocked on:
issue 135743

  • Only users with Commit permission may comment.

Sign in to add a comment

Chrome does not allow applications to play HTML5 audio without an explicit action by the user, which is different than how stock browser handles it.

Reported by, Jul 19 2012

Issue description

Chrome Version: 20.0.1132.57
Application Version (from "Chrome Settings > About Chrome"):
URLs (if applicable): (simple example test page)

From "Android Settings > About Phone/Tablet"
Build number: Android 4.1.1
Device: Nexus 7

Behavior in Android Browser (if applicable):
- Audio plays automatically without interference by the browser.

Steps to reproduce:
- Use approach for console if needed.

1. Open in Chrome on Android. 
2. HTML5 Audio sound should play automatically
3. But, stalled event is triggered on the sound, stopping playback.
4. Users can click the play button to play the track without the stalled event being fired.

- The end result is that Chrome does not allow applications to play HTML5 audio without an explicit action by the user, similar to how it is handled by iOS, but differently than the stock Android browser handles it.


Comment 1 by, Jul 20 2012

Labels: Feature-Media-Audio
Labels: Type-Feature Area-WebKit
Status: Untriaged
Auto play is currently not supported...we are looking into it
Labels: WebKit-WebApps
Blockedon: chromium:135743

Comment 6 by, Jul 20 2012

Status: WontFix
This is intended. Autoplay is not honored on android as it will cost data usage. 

Comment 7 by, Jul 20 2012

How is one supposed to develop a HTML5 game with audio in this situation? How is that reasoning different from a Native Android app using autoplay?

Comment 8 by, Jul 20 2012

you can load a lot of empty <audio> tags on first user gesture, and then later on change the src attribute.
Project Member

Comment 9 by, Oct 13 2012

Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member

Comment 10 by, Mar 11 2013

Labels: -Feature-Media-Audio -Area-WebKit -WebKit-WebApps Cr-Content Cr-Internals-Media-Audio Cr-Content-WebApps
Project Member

Comment 11 by, Apr 6 2013

Labels: -Cr-Content Cr-Blink
Project Member

Comment 12 by, Apr 6 2013

Labels: Cr-Blink-Audio
Components: -Blink>Audio Blink>Media>Audio
Renaming Blink>Audio to Blink>Media>Audio for better characterization

Sign in to add a comment