Closed
Bug 1431674
Opened 7 years ago
Closed 7 years ago
If a video is playing while you sign into a youtube account, the video freezes.
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
VERIFIED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
platform-rel | --- | ? |
firefox-esr52 | --- | unaffected |
firefox57 | --- | unaffected |
firefox58 | --- | wontfix |
firefox59 | + | verified |
firefox60 | --- | verified |
People
(Reporter: obotisan, Assigned: cpearce)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [platform-rel-youtube])
[Affected versions]:
- 58.0 -build 6
[Affected platforms]:
- Windows 10 x64
- Ubuntu 16.04 x64
- macOS 10.13
[Preconditions]:
- Autoplay is on
[Steps to reproduce]:
1. Open https://www.youtube.com/ in two tabs.
2. Play a video in one of the tabs.
3. In the other tab sign in into a valid youtube account.
4. Let the video play until the end.
5. Wait for the next video to begin and watch behaviour.
[Expected result]:
- The video starts to play without any problems.
[Actual result]:
- The video plays for about two seconds then it freezes. It can be played only if the page is refreshed.
[Regression range]:
- I will try to find a regression as soon as possible, if there is one.
[Additional notes]:
- For clarifications please look at the attached .gif.
Reporter | ||
Comment 1•7 years ago
|
||
You can find the .gif at this link: https://imgur.com/a/mLsNE
Regression range:
- last good build: 2017-10-04 (20171004220309)
- first bad build: 2017-10-05 (20171005220204)
- pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=c3b7759671deae73e40ebca01d7f23a326a4b8c2&tochange=19b32a138d08f73961df878a29de6f0aad441683
Mozregression suggested that this bug might be the one that caused the problem.
Bug 1324883 - part2: Once a MediaElement receive document unload event, remove all MediaElements in gElementTable with the same uri. r=jwwang
Updated•7 years ago
|
Has STR: --- → yes
Keywords: regression
Updated•7 years ago
|
status-firefox57:
--- → unaffected
status-firefox59:
--- → affected
Updated•7 years ago
|
status-firefox-esr52:
--- → unaffected
Updated•7 years ago
|
platform-rel: --- → ?
Whiteboard: [platform-rel-youtube]
Comment 2•7 years ago
|
||
Chris, is there someone you can recommend to look at this? Thanks.
Flags: needinfo?(cpearce)
Comment 3•7 years ago
|
||
This doesn't reproduce for me on Mac in 59b05.
Oana, could you see if it still does for you?
Flags: needinfo?(oana.botisan)
Reporter | ||
Comment 4•7 years ago
|
||
I check it on beta 59.0b5 and latest Nightly using Mac OS 10.11, Ubuntu 16.04 x32 and Windows 10 x64. The bug is still reproducing on every platform.
I am using a gmail account to sign in. That might be the cause of the issue, maybe. Because yesterday I managed to reproduce the bug on DevEd 59.0b5 when I sign into my email account (gmail).
Flags: needinfo?(oana.botisan)
Comment 6•7 years ago
|
||
Ahh, yes. Just reproduced in 60 using my personal gmail account. No obvious network or console errors.
status-firefox60:
--- → affected
Flags: needinfo?(miket)
Reporter | ||
Comment 7•7 years ago
|
||
I tested with a yahoo account and the bug is reproducing. So I don't think that the issue is just gmail related.
Assignee | ||
Comment 8•7 years ago
|
||
This is indeed a regression from bug 1324883. The code to try to shutdown decoders when a new load starts is triggered by the YouTube, and it's causing the MSE decoder to be destroyed, blocking playback.
We can back out bug 1376321 to fix this; it doesn't seem that critical.
Assignee: nobody → cpearce
Flags: needinfo?(cpearce)
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c900339ffe3d
Backed out changeset 3e22200b7e83. r=backout
https://hg.mozilla.org/integration/mozilla-inbound/rev/aab04cb5b815
Backed out changeset 9d197f1860e6. r=backout
Assignee | ||
Comment 10•7 years ago
|
||
To be more explicit, the intent of bug 1376321 was to clear the MediaCache when a tab was closed or CTRL+F5 was pressed. However this has the adverse effect of shutting down the video element when a new MediaSource (which doesn't use the MediaCache) is attached to a previously playing media element under some conditions, in particular on YouTube when a user signs in on another YouTube tab.
We should uplift the backout.
Blocks: block-autoplay
Flags: needinfo?(cpearce)
Comment 11•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Comment 13•7 years ago
|
||
Assignee | ||
Comment 14•7 years ago
|
||
(In reply to Chris Pearce (:cpearce) from comment #10)
> To be more explicit, the intent of bug 1376321 was to clear the MediaCache
> when a tab was closed or CTRL+F5 was pressed. [...]
I meant to say bug 1324883 here, and elsewhere in this bug where I mentioned 1376321...
Assignee | ||
Updated•7 years ago
|
Comment 15•7 years ago
|
||
uplift |
Backed out from beta https://hg.mozilla.org/releases/mozilla-beta/rev/e61fa00f6ebf
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(cpearce)
Updated•7 years ago
|
Flags: qe-verify+
Comment 16•7 years ago
|
||
Verified on Nightly 60.0a1 (2018-03-09), Build ID: 20180309003239 on:
- Windows 10 x64
- Ubuntu 16.04 x64
- macOS 10.13
Bug is fixed.
Reproduced on the same OSes on Firefox 58.0
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 17•7 years ago
|
||
I verified the fix on Firefox 59.0 using Windows 10 x64, macOS 10.13 and Ubuntu 16.04. The issue is not reproducing anymore.
Reporter | ||
Updated•7 years ago
|
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•