Issue metadata
Sign in to add a comment
|
Chrome Autoplays a video by mistake |
||||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Steps to reproduce the problem:
This is a bug that causes the #1 Chrome tab to autoplay a youtube video.
1. Open the chrome browser and go to youtube
2. Fork off 3 or more video tabs so you now have 4 tabs :
[ YouTube homepage ] [Silent VideoTab #1] [Silent VideoTab #2] [Silent VideoTab #3]
3. click on Silent VideTab #3 and it begins to play.
4. close [ YouTube homepage ] tab.
5. Now, Silent VideTab #3 is playing (only), and you are watching the video.
6. Now, **** SLOWLY **** drag Silent VideoTab #1 into its own, new window.
For some reason, you must drag **** SLOWLY **** if you drag really quickly it works okay.
7. BUG : The following tabs begin to play:
[ Silent VideoTab #1] - just fine, it's in the foreground in a new window, it should be playing.
[ Silent VideoTab #2 ] - this tab begins playing, even though Silent VideoTab #3 is on top and already playing <= BUG BUG
dragging 1 tab out of a chrome window SHOULD NOT cause 2 tabs to start playing.
What is the expected behavior?
Dragging browser tab #1 out of a window *should not* cause browser tab #2 to autoplay the video (tab #2 is not displayed).
What went wrong?
see above
Did this work before? N/A
Chrome version: 63.0.3239.132 Channel: stable
OS Version: #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04)
Flash Version:
,
Jan 31 2018
this is a YouTube bug. can you file it in https://b.corp.google.com/issues?
,
Jan 31 2018
I don't think this is a YouTube bug. The first tab in a window is always foregrounded unfortunately. There's no cheap way to figure out if a window is occluded last I checked.
,
Jan 31 2018
I would recommend WontFix-ing this as it sounds very unlikely that we will fix it on the media side. *Maybe* one day the page visibility will take into account occlusion but that's a different question IMO.
,
Jan 31 2018
Since it a true bug, and it probably impacts users a nontrivial amount of time (for example, at google we all have 2 monitors and it's common when you start playing a video, to pull that pane to the 2nd monitor and fullscreen it, in which case you are very likely to encounter this bug), why not just make it a low-priority? I cannot understand the rationale of closing a bug just because it's hard ...
,
Jan 31 2018
There's another bug which is tracking this; I just couldn't find it. I'll try to dig it out today and dupe this.
,
Feb 1 2018
This is slightly different then the issue I remembered, so I'm just going to mark this as blocked.
,
Feb 8 2018
,
Mar 19 2018
I can easily repro this bug on Windows. the video is preload but auto played when it shouldn't. it is more like a autoplay bug.
,
Mar 20 2018
Confirmed repro on Linux 67.0.3373.0
,
Jun 11 2018
Related to: https://bugs.chromium.org/p/chromium/issues/detail?id=818280 818280 wouldn't solve the issue (dragging tabs sends a signal that page is visible) but would dampen the effect (old tabs wouldn't autoplay). Marking this as a dup since the other one will likely make this one moot (and it's not clear how we can solve this one since dragging a tab does in fact make the page briefly visible) |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by ajha@chromium.org
, Jan 23 2018Labels: Needs-Triage-M63