New issue
Advanced search Search tips

Issue 871713 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Sep 6
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Video stops playing on switching the tabs

Project Member Reported by subhashi...@chromium.org, Aug 7

Issue description

App Version: 69.0.3497.25 beta
iOS Version:10.3.3 only
Devices:  iPhone 7 Plus, iPhone 7

Steps to reproduce:
1. Launch iOS Chrome
2. Navigate to any webpage with videos ex. youtube.com
3. Play the video
4. Switch the tabs and switch back

Observed results:
Video stops playing 

Note:
1. Working fine in Chrome Old UI
2. Continues to play audio
3. Plays video in full screen and it stops playing video after exiting full screen

Expected results:
Should continue to play videos even on switching the tabs
 
Number of times you were able to reproduce: 5/5
Bug reproducible after clean install: Yes
Bug reproducible after clearing cache and cookies: Yes
Bug reproducible on Chrome Mobile on Android: NA
Bug reproducible on Safari/Firefox: Firefox: NA, Safari: NA
Bug reproducible on the current stable build :M68, No
Bug reproducible on the current beta channel build :M69, Yes

Type-bug-regression? No

Link to Image/Video:
https://drive.google.com/open?id=1uW1D3Ak5MuPL6D-AcZWYHAjCYNUKxyZN

 
Cc: pinkerton@chromium.org marq@chromium.org rohitrao@chromium.org
Components: Mobile>WebView>Glue
Labels: -Pri-2 M-69 Pri-1
Owner: eugene...@chromium.org
Status: Assigned (was: Untriaged)
This is iOS10 only, but playing audio in background tabs is something that we've cared a lot about in the past.

I'd like to investigate for M69 if we can.  Assigning to someone who has access to the MTV device cabinet to start.
The bug says: "reproducible on the current stable build", "Working fine in Chrome Old UI", and "not a regression". These 3 seem like contradict each other.

Is this bug reproducible with M68 stable and default flags?
Is this bug reproducible with M68 stable and ui-refresh-phase1 enabled?
Bug reproducible on the current stable build :M68, No (with or without UI-Refresh flag)
Bug reproducible on the current beta channel build :M69, Yes (with UI-Refresh flag enabled)


Description: Show this description
Labels: ReleaseBlock-Stable Needs-Bisect
Thanks for checking. Could you please bisect good and bad git version.
Labels: -Type-Bug -Needs-Bisect Type-Bug-Regression
Revision Number for 69.0.3493.0 (Good Version) - 7066e7628789
Revision Number for 69.0.3494.0 (Bad Version) - 27a4cd8f3d84

Cc: eugene...@chromium.org
Components: UI>Browser>Mobile>TabSwitcher
Owner: edchin@chromium.org
Thanks for bisecting. The only suspicious ios change I see is this one:
https://chromium-review.googlesource.com/1135135

That CL is even more suspicious given that playback stops after interacting with tab switcher. Ed, or Mark can you investigate further?
Owner: marq@chromium.org
Mark, do you think that tab grid transition API change could have affected this?
Labels: -Proj-UIRefresh
This repros for me with UIRefresh *off* (on trunk). That is, either with or without the UIRefresh flag, YouTube videos pause when entering the tab switcher on iOS 10.3. (I tested in the simulator).

Removing the UIRefresh label, still RBS.
(I also verfied that this bug happens with slim navigation enabled or disabled, so that's not the culprit).
Stable cut is in 1 week. Is there an update here?
Labels: -M-69 Proj-UIRefresh M-70
Punting to M70.

Problem seems to be associated with the tab grid animations, so remarking as UI Refresh-related.
Cc: edchin@chromium.org
Owner: mrsuyi@chromium.org
I have tested for YouTube:
m68 on iPhone8/iOS11.4: not working on old/new UI;
m69 on iPhone6sp/iOS11.4: not working on old/new UI;
m70 on iPhone7simulator/iOS10.3: not working on old/new UI;

I think this depends on the behavior of the site, while some sites work well and YouTube does not. You can create a local webpage with <video> refers to a local mp4 file and it won't pause when switching tabs. YouTube maybe just pause the video in "window.onblur" event, which will be emitted when current WKWebView loses focus.
Youtube is a bad test case for this bug.  Youtube intentionally pauses playback when the tab loses focus, unless you pay for Youtube Premium.

Perhaps try testing with vimeo or some other video provider?
I've tried some video sites I often visits and my test website with a mp4 <video> , they works fine. I tried vimeo just now and it works fine.
Can I mark this as WontFix now?
Can we test if this bug is reproducible with YouTube Premium?
Status: WontFix (was: Assigned)
Checked. YouTube Premium works fine. Glad that YouTube has a free trial, otherwise we have to pay €11.99 for this bug :D

Sign in to add a comment