Page MenuHomePhabricator

Record and report metrics for audio and video playback
Open, LowPublic

Description

Currently we have limited information about media playback; we have some low-level stats (link me?) but I don't know how reliable they are in terms of showing which files/resolutions/formats are used, whether playback completes, whether it takes seeks into account etc.

It would also be nice to report some playback quality metrics when available (dropped frame count etc). ogv.js and Firefox provide some metrics in theory.

Event Timeline

brion raised the priority of this task from to Needs Triage.
brion updated the task description. (Show Details)
brion subscribed.

Should also track usage of inline vs embedded iframe mode

See also T88775

BTW I guess that by "low-level stats", you mean the mediacounts table?

TheDJ added subscribers: Krenair, TheDJ.

@Krenair, you've done eventlogging for wikieditor at some point right ? Would you care to explain this to me, after I get back from my holidays, so that I could set it up for TMH ?

@Krenair, you've done eventlogging for wikieditor at some point right ? Would you care to explain this to me, after I get back from my holidays, so that I could set it up for TMH ?

Yeah. I can (try to) answer any questions you have.

What do we want to measure ?

1: How often are players that are inserted into pages actually interacted with.
2: How often do people play/pause and actually finish watching a video ?
3: How often do people encounter issues with playback (tried to play but did not succeed ?)
4: How often do people use feature: X

  • Fullscreen
  • Share
  • Manually switch play back engine
  • Enable or disable subtitles
  • Manually switch resolution

5: What is the performance of the player setup ?

Properties

  • browser (version)
  • OS (version)
  • registered or IP
  • embedded vs file page (category pages?) vs. iframe
  • mobile vs non-mobile
  • playback resolution used
  • video tech used (html5, ogvjs, vlc)
  • video player used (embed player, videojs)

Events

  • Init player
  • Player ready
  • Playback
    • play
    • pause
    • ended
  • UI interactions
    • menu button
    • full screen button
    • subtitle button
  • Destroy player

@brion let us know whenever you want to talk about doing this!

@fdans & @DarTar yes let's schedule a brief talk to get started? I'm on pacific time, mostly flexible time other than Wednesday afternoons. Send me a calendar invite!

Restricted Application edited projects, added Analytics; removed Analytics-Radar. · View Herald TranscriptJun 10 2020, 6:33 AM
Restricted Application edited projects, added Analytics; removed Analytics-Radar. · View Herald TranscriptJun 10 2020, 6:36 AM