New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 620243 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 618085
Owner: ----
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Autoplay of video w/o an audio track

Project Member Reported by avayvod@chromium.org, Jun 15 2016

Issue description

Filing this for tracking and confirming we want to implement this (to match Safari 10 behavior for instance).

At a first glance, we'll have to wait for ReadyStateHaveMetadata to detect if there's a video track and no audio tracks which happens after HTMLMediaElement.cpp decides about autoplay in isGestureNeededForPlayback(), at least in my local testing.

We'd also need to pause when an audio track is added to a locked media element.
 
Status: Available (was: Untriaged)
Leaving some background information about this:
- the current media pipeline we use on Android goes to the system so it's unclear whether we can have track information without loading the full media. This is about to be fixed by Spitzer.
- we limit preloading of media files in some situations, in which case, we will not be able to find out if there is an audio track until we actually play.
- if the developer sets preload to none, we will not be able to get metadata too.

In other words, the audio track solution is more hacky than a predictable solution based on muted state.
Mergedinto: 618085
Status: Duplicate (was: Available)
Realised this was already opened.

Sign in to add a comment