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

Issue 814268 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 1
Type: Bug



Sign in to add a comment

Autoplay: differentiate watch time initiated by autoplay from others

Project Member Reported by mlamouri@chromium.org, Feb 21 2018

Issue description

This will be done by adding a new property to WT to keep track whether it was autoplay initiated.

The definition of autoplay initiated is: playback that started with a user gesture on the frame or a user gesture carried trough navigation. In other words, it should happen when the unified autoplay policy isn't on or when MEI is high for the website.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 1 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb

commit 89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb
Author: Mounir Lamouri <mlamouri@chromium.org>
Date: Thu Mar 01 15:00:44 2018

WatchTime: add field recording whether a player was autoplay iniated.

This is done by keeping track of whether a playback was autoplay
initiated when starting and always returning this value to the
WatchTimeReporter.

Bug:  814268 
Change-Id: Id34b73047df7a68ee8bb19d6f25285930a85d60e
Reviewed-on: https://chromium-review.googlesource.com/923984
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540150}
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/media/blink/watch_time_reporter.cc
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/media/blink/watch_time_reporter.h
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/media/blink/watch_time_reporter_unittest.cc
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/media/blink/webmediaplayer_impl.cc
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/media/mojo/interfaces/watch_time_recorder.mojom
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/media/mojo/services/watch_time_recorder.cc
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/media/mojo/services/watch_time_recorder.h
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/media/mojo/services/watch_time_recorder_unittest.cc
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/third_party/WebKit/Source/core/html/media/AutoplayPolicy.cpp
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/third_party/WebKit/Source/core/html/media/AutoplayPolicy.h
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/third_party/WebKit/Source/core/html/media/HTMLMediaElement.cpp
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/third_party/WebKit/Source/core/html/media/HTMLMediaElement.h
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/third_party/WebKit/Source/core/html/media/HTMLMediaElementTest.cpp
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/third_party/WebKit/public/platform/WebMediaPlayerClient.h
[modify] https://crrev.com/89c0a1beef483d91b91ac9c04bc8a5b526dbf3bb/tools/metrics/ukm/ukm.xml

Status: Fixed (was: Started)

Sign in to add a comment