Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Issue 1884573004: Add user actions to record media controls interaction. (Closed)

Created:
4 years, 8 months ago by mlamouri (slow - plz ping)
Modified:
4 years, 8 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, philipj_slow, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add user actions to record media controls interaction. This is recording interaction on: - Play/Pause - Play button overlay - Fullscreen (enter/exit) - Mute/Unmute - Volume slider - Scrubber - Closed Caption (show/hide) - Cast (built-in/overlay) BUG=602714 R=isherman@chromium.org, philipj@opera.com Committed: https://crrev.com/ea625d2ecbc66d8b47468c2662f399ed88e0eb22 Cr-Commit-Position: refs/heads/master@{#387342}

Patch Set 1 #

Patch Set 2 : jochen@chromium.org #

Patch Set 3 : #

Patch Set 4 : fix #

Total comments: 23

Patch Set 5 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -4 lines) Patch
M third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp View 1 2 3 4 9 chunks +39 lines, -4 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884573004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884573004/1
4 years, 8 months ago (2016-04-12 19:27:52 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-12 20:33:57 UTC) #4
mlamouri (slow - plz ping)
4 years, 8 months ago (2016-04-13 10:50:18 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884573004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884573004/20001
4 years, 8 months ago (2016-04-13 10:50:34 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/211649)
4 years, 8 months ago (2016-04-13 13:17:00 UTC) #9
mlamouri (slow - plz ping)
On 2016/04/13 at 13:17:00, commit-bot wrote: > Dry run: Try jobs failed on following builders: ...
4 years, 8 months ago (2016-04-13 13:28:37 UTC) #10
mlamouri (slow - plz ping)
back to normal, sorry for the noise
4 years, 8 months ago (2016-04-13 13:35:08 UTC) #11
Ilya Sherman
Thanks! Metrics LGTM % nits: https://codereview.chromium.org/1884573004/diff/60001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/1884573004/diff/60001/tools/metrics/actions/actions.xml#newcode7850 tools/metrics/actions/actions.xml:7850: <description>The user hide the ...
4 years, 8 months ago (2016-04-13 19:12:13 UTC) #12
philipj_slow
lgtm % nits and questions https://codereview.chromium.org/1884573004/diff/60001/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp File third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp (right): https://codereview.chromium.org/1884573004/diff/60001/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp#newcode383 third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp:383: Platform::current()->recordAction(UserMetricsAction("Media.Controls.ClosedCaptionShow")); Isn't this the ...
4 years, 8 months ago (2016-04-14 13:46:16 UTC) #13
mlamouri (slow - plz ping)
https://codereview.chromium.org/1884573004/diff/60001/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp File third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp (right): https://codereview.chromium.org/1884573004/diff/60001/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp#newcode383 third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp:383: Platform::current()->recordAction(UserMetricsAction("Media.Controls.ClosedCaptionShow")); On 2016/04/14 at 13:46:15, philipj_slow wrote: > Isn't ...
4 years, 8 months ago (2016-04-14 15:46:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1884573004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1884573004/80001
4 years, 8 months ago (2016-04-14 15:46:47 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-14 17:02:36 UTC) #18
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/ea625d2ecbc66d8b47468c2662f399ed88e0eb22 Cr-Commit-Position: refs/heads/master@{#387342}
4 years, 8 months ago (2016-04-14 17:03:49 UTC) #20
Ilya Sherman
https://codereview.chromium.org/1884573004/diff/60001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/1884573004/diff/60001/tools/metrics/actions/actions.xml#newcode7904 tools/metrics/actions/actions.xml:7904: <action name="Media.Controls.ScrubbingEnd"> On 2016/04/14 15:46:30, Mounir Lamouri wrote: > ...
4 years, 8 months ago (2016-04-14 20:41:26 UTC) #21
mlamouri (slow - plz ping)
On 2016/04/14 at 20:41:26, isherman wrote: > https://codereview.chromium.org/1884573004/diff/60001/tools/metrics/actions/actions.xml > File tools/metrics/actions/actions.xml (right): > > https://codereview.chromium.org/1884573004/diff/60001/tools/metrics/actions/actions.xml#newcode7904 ...
4 years, 8 months ago (2016-04-15 10:27:06 UTC) #22
Ilya Sherman
On 2016/04/15 10:27:06, Mounir Lamouri wrote: > On 2016/04/14 at 20:41:26, isherman wrote: > > ...
4 years, 8 months ago (2016-04-15 21:59:10 UTC) #23
mlamouri (slow - plz ping)
On 2016/04/15 at 21:59:10, isherman wrote: > On 2016/04/15 10:27:06, Mounir Lamouri wrote: > > ...
4 years, 8 months ago (2016-04-16 10:34:16 UTC) #24
Ilya Sherman
4 years, 8 months ago (2016-04-16 19:41:30 UTC) #25
Message was sent while issue was closed.
On 2016/04/16 10:34:16, Mounir Lamouri wrote:
> On 2016/04/15 at 21:59:10, isherman wrote:
> > On 2016/04/15 10:27:06, Mounir Lamouri wrote:
> > > On 2016/04/14 at 20:41:26, isherman wrote:
> > > >
> > >
>
https://codereview.chromium.org/1884573004/diff/60001/tools/metrics/actions/a...
> > > > File tools/metrics/actions/actions.xml (right):
> > > > 
> > > >
> > >
>
https://codereview.chromium.org/1884573004/diff/60001/tools/metrics/actions/a...
> > > > tools/metrics/actions/actions.xml:7904: <action
> > > name="Media.Controls.ScrubbingEnd">
> > > > On 2016/04/14 15:46:30, Mounir Lamouri wrote:
> > > > > On 2016/04/13 at 19:12:12, Ilya Sherman wrote:
> > > > > > I'm not sure that you'll really get much value from separating out
> > > scrubbing
> > > > > begin vs. end, but you're welcome to try if you think it'd be useful.
> > > > > 
> > > > > As said above, I think the time it takes to scrub might correlate with
> how
> > > hard
> > > > > it is to actually succeed.
> > > > 
> > > > That might be true, but how do you plan to view that time?  The
dashboards
> > > don't make duration data very easy to view for user actions, though you
> could
> > > write custom Dremel queries.  If you're not planning to write the Dremel
> > > queries, then I'd expect the Begin/End split won't give you much
actionable
> > > data.
> > > 
> > > For the case of seek, there is ongoing work to change the size of the
> seekable
> > > area. The UI team has been looking for metrics to know if engagement would
> be
> > > impacted by such a change. I really expect them to use this information. I
> will
> > > definitely push them in this direction.
> > 
> > My point is not that I doubt the duration data would be useful.  Rather, I'm
> saying that by choosing to record this data as a user action rather than as a
> histogram, you'll likely have a hard time using the UMA dashboards and tools
to
> get at the duration data.
> 
> Do you mean that you think I should compute the timing in the C++ code and
save
> it as an histogram instead of saving two user actions and compute with a
dremel
> query how long it did take?

Right, I think that would be simpler for the analysis step.  If you're
comfortable writing and manually running the Dremel query, then it's fine either
way.

Powered by Google App Engine
This is Rietveld 408576698