Add a separate event for PiP windows displayed with subtitles
Categories
(Toolkit :: Picture-in-Picture, enhancement)
Tracking
()
People
(Reporter: asafko, Assigned: niklas)
Details
Attachments
(3 files)
2.69 KB,
text/plain
|
chutten
:
data-review+
|
Details |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-release+
|
Details | Review |
49.24 KB,
image/png
|
Details |
Let's please add this event as a remedy for pictureinpicture.create event not being usable in detecting PiPs launched with subtitles.
Pictureinpicture.subtitles_shown should be recorded only once per PiP window open.
event category: pictureinpicture
event_method: subtitles_shown
extra_keys: webVTTSubtitles: bool
Initially, we thought we could detect non-webVTTSubs in the pictureinpicture.create event, but that only worked for webVTT tracks. We would like to add a separate event to track subtitles displayed in the PiP window.
Comment 2•2 years ago
|
||
Comment on attachment 9279680 [details]
PiP Data Collection Request.txt
DATA COLLECTION REVIEW RESPONSE:
Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?
Yes.
Is there a control mechanism that allows the user to turn the data collection on and off?
Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.
If the request is for permanent data collection, is there someone who will monitor the data over time?
Yes, Ania Safko is responsible.
Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 2, Interaction.
Is the data collection request for default-on or default-off?
Default on for all channels.
Does the instrumentation include the addition of any new identifiers?
No.
Is the data collection covered by the existing Firefox privacy notice?
Yes.
Does the data collection use a third-party collection tool?
No.
Result: datareview+
Assignee | ||
Comment 3•2 years ago
|
||
Pushed by nbaumgardner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9f7039b0b86c Telemetry for when subtitles are shown. r=pip-reviewers,mhowell
Comment 5•2 years ago
|
||
Backed out changeset 9f7039b0b86c (Bug 1772546) as requested by the dev.
Backout link
Pushed by nbaumgardner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/642e6c336f80 Telemetry for when subtitles are shown. r=pip-reviewers,mhowell
Assignee | ||
Comment 7•2 years ago
|
||
Comment on attachment 9279682 [details]
Bug 1772546 - Telemetry for when subtitles are shown. r=#pip-reviewers!
Beta/Release Uplift Approval Request
- User impact if declined: We want insight into how many people are using subtitles in Picture-in-Picture and this telemetry event along with some other existing telemetry events gives us insight into subtitles in Picture-in-Picture.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. Make sure
media.videocontrols.picture-in-picture.display-text-tracks.enabled
is set to true
- Navigate to https://www.youtube.com/watch?v=XdKzUbAiswE
- Open a PiP window with original video subtitles on and make sure you see subtitles in the PiP window
- Navigate to about:telemetry, click "Events" and then "Content" or search "pictureinpicture" and confirm that a
pictureinpicture.subtitles_shown
event exists with"webVTTSubtitles": "false"
under extra
Repeat the steps but use https://twitter.com/TheDailyShow/status/1519497244759707649 for the PiP video. The new pictureinpicture.subtitles_shown
event should have "webVTTSubtitles": "true"
under extra
Repeat the steps with either video but turn the original video subtitles off before opening the PiP window. Confirm that no subtitles are shown in the PiP window and no new pictureinpicture.subtitles_shown
event exists. (There may be previous pictureinpicture.subtitles_shown
events)
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This patch only adds a telemetry event. This has no impact on user experience.
We would like to include this in the next dot release. - String changes made/needed: No
- Is Android affected?: No
Assignee | ||
Updated•2 years ago
|
Comment 8•2 years ago
|
||
The backout requested by the dev. was merged to central https://hg.mozilla.org/mozilla-central/rev/364e8e886a3d4179c3fb5f23a31c26bc646550a5
Comment 9•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Hello,
Confirming this issue as verified fixed with WIndows 11, Ubuntu 21 and macOS 11.6.6 on 103.0a1(20220605213032) using the STR from Comment 7.
Comment 11•2 years ago
|
||
Comment on attachment 9279682 [details]
Bug 1772546 - Telemetry for when subtitles are shown. r=#pip-reviewers!
Approved for 102 beta 5, thanks.
Comment 12•2 years ago
|
||
bugherder uplift |
Comment 13•2 years ago
|
||
Is the incoming Telemetry looking sane so far?
Reporter | ||
Comment 14•2 years ago
|
||
https://sql.telemetry.mozilla.org/queries/86265/source
I looked at the recorded events from yesterday for my client id, and this one record looks correct.
Niklas and I launched a bunch of PiPs with regular and WebVTT subs today, and we'll check this query tomorrow to see if they have been recorded correctly.
Updated•2 years ago
|
Comment 15•2 years ago
|
||
Hello,
Confirming this issue as verified fixed with Windows 11, Ubuntu 21 and macOS 11.6.6 on 102.0b5-build2(20220607212916) using the STR from Comment 7.
Updated•2 years ago
|
Comment 16•2 years ago
|
||
Comment on attachment 9279682 [details]
Bug 1772546 - Telemetry for when subtitles are shown. r=#pip-reviewers!
Approved for 101.0.1.
Comment 17•2 years ago
|
||
bugherder uplift |
Reporter | ||
Comment 18•2 years ago
|
||
Vlad, thank you for confirming.
Niklas and I verified that events are showing up in the telemetry.events table as expected.
We're still verifying one small edge case that you can perhaps help us validating this?
We have a concern that pictureinpicture.create event with webVTTsubtitles:true attribute might be recorded under these circumstances:
- Navigate to Youtube
- Find a video that is preceded by a Youtube ad
- Turn on the subtitles in the ad
- Launch PiP, wait until the end of the ad, begin watching the video with subs on.
Because we don't do URL tracking, we would wrongly attribute such an event to the popularity of webVTT format outside (as we're assume that Youtube subtitles ARE NOT webVTT).
Comment 19•2 years ago
|
||
Hello,
Confirming this issue as verified fixed in 101.0.1 (20220608170832) with macOS 11.6.6, Ubuntu 20.04 and Windows 10x64 , using steps from comment 7.
(In reply to Ania from comment #18)
We're still verifying one small edge case that you can perhaps help us validating this?
Hello Ania,
Using this video with an ad at the beginning, I have managed to uncover that indeed pictureinpicture.create event is present as well as webVTTsubtitles: but with a false attribute.
Hope this helps!
Updated•2 years ago
|
Description
•