Closed Bug 1402964 Opened 7 years ago Closed 7 years ago

Twitter.com: visible loading spinner when video loops

Categories

(Core :: Audio/Video: Playback, defect, P2)

57 Branch
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr52 --- wontfix
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 + wontfix
firefox58 --- wontfix
firefox59 --- verified
firefox60 --- verified
firefox61 --- verified

People

(Reporter: miketaylr, Unassigned)

References

()

Details

(Keywords: compat, regression)

STR: In Firefox, open https://twitter.com/davatron5000/status/912404469115125765

Expected: don't see a loader image for each loop
Actual... I do.

I don't know if we got faster as this recently, or something changed on Twitter's end. Not ready to mark as a regression just yet.

(note I see the loader image just once in Chrome)
OK, so there's def a regression. mozregression dies here though (around Firefox 51?)

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1a5b53a831e5a6c20de1b081c774feb3ff76756c&tochange=506facea63169a29e04eb140663da1730052db64

Anthony, there's a few media-related changesets there, can you help finding the suspicious ones?
Flags: needinfo?(ajones)
Keywords: regression
If I set loop with the src file, https://video.twimg.com/tweet_video/DKmC_cCVAAAmuRt.mp4, there is no spinner.
It seems that spinner is not from our video control. We may need to figure out which condition may show that spinner.  
Ray, 
Do you know how to check if that spinner is ours or not?
Flags: needinfo?(ralin)
Keywords: compat
Priority: -- → P2
I see the spinner loop as well on twitter. Our spinner looks like: http://searchfox.org/mozilla-central/source/toolkit/themes/shared/media/throbber.png

Also, I spot some event handlers register on video, like loadstart/ended, not sure if those are something cause the spinner showing up.
Flags: needinfo?(ralin)
One more clue, if no "controns" attribute present in <video>, we don't show anything over it including spinner. Hope this helps :D
s/controns/controls/
JW - maybe we're firing some weird events.
Flags: needinfo?(ajones) → needinfo?(jwwang)
[Tracking Requested - why for this release]: Dunno if we want this to track 57, it's a perceived quality/performacne issue (IMHO) on a very popular website.
This does seem like something we should try to fix, tracked for 57.
It looks like the spinner is caused by the 'waiting' event. We should contact the site owner to fix their code because firing 'waiting' events during seeking conforms to the spec.
Flags: needinfo?(jwwang) → needinfo?(cpeterson)
I will contact Twitter. This tweet is broken in Edge (but not IE11) for a different reason: only part of the animated background is animated (except when scrolling the page).
Flags: needinfo?(cpeterson)
(In reply to JW Wang [:jwwang] [:jw_wang] from comment #9)
> It looks like the spinner is caused by the 'waiting' event. We should
> contact the site owner to fix their code because firing 'waiting' events
> during seeking conforms to the spec.

For reference, the "waiting" event here causes this spinner appearing.

http://searchfox.org/mozilla-central/rev/298033405057ca7aa5099153797467eceeaa08b5/dom/html/HTMLMediaElement.cpp#5886
Twitter employee here, this is a regression on our end that we'll address. Thank you for raising this!
Per comment12, mark this bug as invalid.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Twitter fixed this animation bug on March 15. Animations loop smoothly in Firefox now!
Status: RESOLVED → VERIFIED
Resolution: INVALID → FIXED
You need to log in before you can comment on or make changes to this bug.