Created attachment 8749656 [details] [diff] [review] Patch I've heard reports from some of the developers who work on video playback for Gecko, as well as Dolske, that the statistics offered through the controls are unreliable/don't offer enough data to make them useful. Instead of iterating on them right now it would be better to remove them. If we come across some new needs or different ideas of integrating them than we can pursue those at that time.
Does keeping them interfere something? Otherwise I see no reason to remove them. Also besides Firefox developers these statistics could be useful for normal users and web developers.
Chris, do you have a response in regards to comment #1?
Created attachment 8749788 [details] [diff] [review] Patch v1.1
I don't feel strongly about keeping the default video controls' playback stats; I certainly don't find they add much value. We could rework them to be based on VideoPlaybackQuality. Anthony has interest in video playback perf reporting/statistics. He may have an opinion here. We've been discussing how Gecko can provide more useful statistics to web devs. Once we've figured out a path there, we could add those new stats to the default video controls.
Comment on attachment 8749788 [details] [diff] [review] Patch v1.1 From a quick look this looks more or less OK, but it seems like we should also be removing: https://dxr.mozilla.org/mozilla-central/rev/e5a10bc7dac4ee2453d8319165c1f6578203eac7/browser/base/content/content.js#721-727 In any case, we do also need consensus that removal is what we want to do here.
Dolske, where do you stand with removing the current implementation of the statistics until we have the reworked ones described in comment #4?
I'm OK with just removing them. I don't think they're useful to a lot of people. Displaying video playback stats is a pretty advanced use case.
I'll clear the needinfo and mark this as checkin-needed based on this bug being added as blocking bug 1271768.
Created attachment 8752930 [details] [diff] [review] Patch for check-in (rebased)
Needs rebasing (sorry :\)
Created attachment 8753652 [details] [diff] [review] Patch for check-in (rebased 2)
Backed out in https://hg.mozilla.org/integration/fx-team/rev/0ba8107314d6e579f881399cc2ec0a6478080a90 (probably unnecessarily) while backing out bug 1181055
This was the guilty party, not bug 1181055.
https://hg.mozilla.org/integration/fx-team/rev/976f7eede8229530b737f1ca7eb151a502b46bd3 Bug 1270853 - Remove HTML5 video controls statistics. r=gijs, r=bz for removing internal chrome/xbl attribute in webidl
well, I certainly it was still there right now, as is it's the available option to display stats in full screen mode. can we add it back?
missing wish in that above sentence :)