New issue
Advanced search Search tips

Issue 837566 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Not auto-play multiple videos simultaneously in one page

Project Member Reported by hiroh@chromium.org, Apr 27 2018

Issue description

According to https://www.w3schools.com/tags/att_video_autoplay.asp,
a video with autoplay attribute would start as soon as it can do so without stopping.
I open a simple page which has four videos, example.html.
The first video would start immediately in loading the page.
The other videos doesn't start playing. Twenty seconds pass after the first video starts, those kick off playback.
Is this an intended behavior of Chromium?
In addition, I sometimes observed starting playback them at the same time.
It seems at random.

I open the same page with Firefox. They start playing at the same time just after loading.

 
example.html
548 bytes View Download
144.webm
4.0 MB View Download

Comment 1 by hiroh@chromium.org, Apr 27 2018

Cc: hiroh@chromium.org

Comment 2 by hiroh@chromium.org, May 1 2018

Owner: beccahughes@chromium.org
beccahughes@, may I ask you to triage this bug and assign to an appropriate owner?

Thanks
What version of Chrome is this?

If I try your page in 68.0.3417.0 we block autoplay on all four videos which is expected. If I force enable autoplay then all four videos autoplay.

Comment 4 by hiroh@chromium.org, May 1 2018

Sorry I had to provide the information.
Chrome: 66.0.3359.139
OS: Linux
I cannot replicate this on 66.0.3359.139 Linux. Do you have any messages in the JS console?

Comment 6 by hiroh@chromium.org, May 1 2018

There is no log in console.
What I do is to 
1. put example.html and 144.webm in the same directory.
2. python -m SimpleHTTPServer
3. access localhost:8000/example.html

What is wrong?
Status: WontFix (was: Untriaged)
This is the python test server blocking on serving the video files. If you use another test server it works fine.

Comment 8 by hiroh@chromium.org, May 1 2018

Got it.
Thank you.

Comment 9 by hiroh@chromium.org, May 2 2018

I have two questions.
Q1. What test server are you using?
Q2. Why does playback kick off when accessing using Firefox?
1. A nodejs command called serve
2. I am not sure, maybe it has something to do with loading?
I confirmed this is not observed with nodjs http-server.

However, could you access this page? This is a typical web app running google cloud.
http://crosvideo2.appspot.com/multivideo.html?resolution=144

I observed the similar behavior on the site.
What do you think?
We have started blocking unmuted autoplay but default. Are you overriding the autoplay policy switch for your tests?
I am not sure if I can get #c12.
That means, chrome blocks autoplay video which has sound?
What do you mean, 
"Are you overriding the autoplay policy switch for your tests?"
Sorry for updating late. I disabled #autoplay-policy and played http://crosvideo2.appspot.com/multivideo.html?count=2&resolution=144.
The video playbacks are not kicked off at the same time.
Could you check the behavior?

Thanks.

Sign in to add a comment