New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 723727 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

Blocked on:
issue 701514



Sign in to add a comment

UKM should report if video is played on a page

Project Member Reported by bengr@chromium.org, May 17 2017

Issue description

UKM should report if video is played on a page. Ideally we'd break this down into user-initiated play vs autoplay, which might be difficult because developers have various tricks to trigger autoplay that appear to the browser that the user initiated the play.
 
Cc: privard@chromium.org rkaplow@chromium.org

Comment 2 by dah...@chromium.org, May 17 2017

Cc: mlamouri@chromium.org
CC mlamouri. We should collaborate on this to make sure we are measuring this consistently with our other video UKM metrics.
To date, for pageload metrics, we've used the WebContentsObserver::MediaStartedPlaying callback to determine if media was played. Would it be sufficient to use this for UKM as well?
We currently have WatchTime UKM which will indirectly answer the original question. Though, we wouldn't know if it was autoplay'd or not.
Cc: -dah...@chromium.org hbengali@chromium.org
We have added "Autoplay Initiated" to the WatchTime UKM. Should this be closed?
Yes, the Autoplay Initiated boolean combined with a Duration > 0 filter would provide the signal originally described in the bug.
Unfortunately, bengr meant to connect this UKM with the PLM UKM. Because watch time UKM uses GetNewSourceID() instead of the ID on the NavigationHandle, this wouldn't be possible to join. We can either use the WCO method for media played, or we can plumb the UKM ID into blink WebLocalFrame. I'd prefer to just use the PLM harness, unless there is a reason to think we want all of the extra video information tied to the PLM UKM.
I think this bug can be well scoped to the time when the first media element played on the page.

bmcquade: is it sufficient to take the TimeTicks::Now() in the page load metrics harness, or should that measurement occur in the renderer to be comparable  to the other timing events?

We could do a bool instead if we think timing is overkill.
Status: WontFix (was: Assigned)
This isn't needed. We've decided to measure data savings more holistically with the data saver header.

Sign in to add a comment