Add Telemetry probes to Picture-in-Picture to measure usage
Categories
(Toolkit :: Video/Audio Controls, task, P2)
Tracking
()
People
(Reporter: mconley, Assigned: mconley, NeedInfo)
References
Details
Attachments
(4 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
3.20 KB,
text/plain
|
chutten
:
data-review+
|
Details |
We'd like to answer a few questions by landing some Telemetry probes. Those questions are:
- Is anybody using Picture-in-Picture?
- How long is the Picture-in-Picture window being left open for?
- Does the default placement and size of the Picture-in-Picture window make sense, or are people moving it and resizing it after it opens?
- How are users accessing Picture-in-Picture? Via the toggle, or via the context menu?
- How are users closing the Picture-in-Picture window? By clicking X? By clicking the "Unpip" button? By closing the originating tab? By closing the originating window? By shutting down? Some other mechanism (right-clicking on the task bar entry and choosing "close" perhaps... not sure if we can detect that)
This is just a list off of the top of my head, but I'm going to double-check with adamopenweb - there might be some questions here that we actually don't care about, or there might be questions that aren't represented here.
Assignee | ||
Comment 1•6 years ago
|
||
Hey adamopenweb, any suggestions for additions, removals, or corrections to the above questions?
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Thanks Mike. Just to clarify (maybe obvious), I'm assuming we want to get a sense of the general usability of the feature in the current state? With data pointing at how to improve our implementation. And that we would consider general discover-ability to be out of scope, as that would require multiple designs and cohorts.
Your questions look great, a few more and expanding on your points:
- How often do they use it? (plays / time window)
- Can we get the time watched / total video length?
- Can we detect the ratio of pip size to desktop screen resolution?
- Is this more useful for short content or long form?
- Can we detect how often live streams are played?
Comment 4•6 years ago
|
||
All of these questions look good to me.
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D36358
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D36359
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
Comment on attachment 9074843 [details]
Bug 1560590 - Add a Telemetry probe to measure how long the Picture-in-Picture window is kept open for. data-review=chutten,r?JSON_Voorhees
Hi! Adding some probes here - do you have time to do a data review? I've attached the data review form to this bug as an attachment.
Assignee | ||
Comment 10•6 years ago
|
||
Comment on attachment 9074844 [details]
Bug 1560590 - Add Telemetry for Picture-in-Picture opening and closing mechanisms. data-review=chutten,r?JSON_Voorhees
Please see comment 9.
Assignee | ||
Comment 11•6 years ago
|
||
Comment on attachment 9074845 [details]
Bug 1560590 - Add Telemetry event probes to determine if users tend to move or resize the Picture-in-Picture window after opening it. data-review=chutten,r?JSON_Voorhees
Please see comment 9.
Assignee | ||
Comment 12•6 years ago
|
||
Hey chutten,
I'm still having trouble with this last set of probes using Event Telemetry in https://phabricator.services.mozilla.com/D36360. Even when I try to manually add an event using the Browser Console, I'm not seeing any information show up in about:telemetry (nor the raw JSON dump). Any ideas what I'm doing wrong?
Comment 13•6 years ago
|
||
Turns out this is a bug on our side. A flag got flipped back during the Fluent rewrite of about:telemetry
and we didn't notice (to our defence, JavaScript didn't tell us that it was referencing something that no longer exists).
I'll get that fixed for you real quick.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 14•6 years ago
|
||
Hey JSON_Voorhees, just a heads up that you'll need to apply the fix in bug 1562947 locally if you want to test the Event Telemetry I just added.
Assignee | ||
Comment 15•6 years ago
|
||
Comment on attachment 9074843 [details]
Bug 1560590 - Add a Telemetry probe to measure how long the Picture-in-Picture window is kept open for. data-review=chutten,r?JSON_Voorhees
Redirecting, since Megan's on PTO.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 16•6 years ago
|
||
Assignee | ||
Comment 17•6 years ago
|
||
Whoops - my bad on the feedback? flags - seems like we need to update https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/collection/events.html to refer to the data-review flags.
Assignee | ||
Comment 18•6 years ago
|
||
Filed bug 1562977 to get the documentation updated.
Comment 19•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 20•6 years ago
|
||
Assignee | ||
Comment 21•6 years ago
|
||
Hey JSON_Voorhees, if you're looking to test the code for that last patch still waiting on review, here's a try build with all 3 patches applied:
Assignee | ||
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
bugherder |
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
Backed out changeset f92ce352e697 (bug 1560590) for ESlint failure
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=255559634&repo=autoland&lineNumber=292
Backout: https://hg.mozilla.org/integration/autoland/rev/005bc170af45995d2cc0099c567bc4cd0d1c16c2
Comment 26•6 years ago
|
||
Comment 27•6 years ago
|
||
bugherder |
Assignee | ||
Comment 28•6 years ago
|
||
Comment on attachment 9074845 [details]
Bug 1560590 - Add Telemetry event probes to determine if users tend to move or resize the Picture-in-Picture window after opening it. data-review=chutten,r?JSON_Voorhees
Beta/Release Uplift Approval Request
- User impact if declined: None directly, though we'll have more difficulty making data-driven decisions about the Picture-in-Picture feature.
Note that we don't need beta approval for the other two patches in this bug, as they were landed before the merge.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This adds a new Telemetry probe for the Picture-in-Picture feature that we're testing on Beta and Developer Edition. The patch is simple, and passive in nature, and neither our automated tests nor manual testing has revealed any problems with it.
- String changes made/needed: None.
Comment 29•6 years ago
|
||
Comment on attachment 9074845 [details]
Bug 1560590 - Add Telemetry event probes to determine if users tend to move or resize the Picture-in-Picture window after opening it. data-review=chutten,r?JSON_Voorhees
Adds telemetry for the Picture-in-Picture feature being tested on Beta during the 69 cycle. Low risk since this feature isn't riding the trains to release. Note that only this specific patch requires uplift as the others landed on 69 prior to the merge to Beta. Approved for 69.0b4.
Comment 30•6 years ago
|
||
bugherder uplift |
Description
•