Currently we have limited information about media playback; we have some stats 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.
- https://mvc.toolforge.org
- https://pageviews.wmcloud.org/mediaviews/?project=commons.wikimedia.org&platform=&agent=user&referer=all-referers&range=latest-20&files=
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.
Added by TheDJ based on past conversations on this topic:
At an industry level, you'd probably want at least the metrics Play Rate and Video Engagement Rate.
Play rate:
percentage of page visitors who were presented the video, clicked play and started watching
Video engagement rate:
The percentage of a video that a viewer watches your content. Calculate engagement rate by dividing the total time played by the
total plays multiplied by the media's length.
To go with that, you want some quantifying information like: You likely also will want to know: audio or video, title, wiki etc.
To generate information like video engagement rate, you likely have to be listening to events of the video element / by making a plugin to the videojs player. You could implement a plugin similar to this for instance. https://github.com/apivideo/api.video-videojs-analytics/blob/main/index.ts
For privacy reasons as this is reading info, which generally isn't public, the information probably has to be sampled and be send with jitter and noise in the process (Definitely consult the Wikimedia privacy and analytics team about this and what they would be comfortable with).
This information will then have to be collected and submitted to an api (which one? EventLogging API? )
Possibly it requires a separate intake stream ?
This would give you analytics for our own webviews... Unfortunately we have MORE views. The apps would need separate support as they directly make use of the videos. So for a complete picture you would have to add separate metric plugins to each of those platforms as well.
