-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add use counters for WebVTT #60
Conversation
VTTCue is for any VTTCue creation, whether from the JS constructor or the WebVTT parser. VTTCueParser is for the creation of a WebVTT parser for a <track> element. VTTCueRender is for when a cue is actually displayed, which would be on top of a playing <video>.
This raises some questions about use counters for me that I think will need attention, so that Two kinds of "usage" that are clear is (1) used in the page and (2) observable or interacted with by the user. For example, a |
@atopal @ddbeck what do you think about the distinction between "potential" and "actual" feature usage? Some additional thoughts:
|
Re the question of usage by devs vs usage by users. It depends on what we are trying to do. My initial reaction is to stick with usage by devs, because usage by users is mediated through decisions made by devs and that's a whole other discussion compared to "do developers use a given feature?". But I'm starting from the assumption that what we are interested in is questions like that and we want to know what drives adoption by developers so we can influence that in the future. |
That's my reaction too. I'm approaching this with the expectation that we're being generally developer-oriented and it calls back to the key question of "can I use this?" The frequency of visitors actually triggering a feature may not be especially interesting to a web developer and yet the ability to rely on the feature's existence may be extremely important. Some accessibility features (including subtitles) may illustrate a not-uncommon story: perhaps only a small number of visitors actually make use of it, but the developer can't ship without it. |
OK, so let's go ahead and merge this. If we interpret the data by taking the largest of the use counters, that would do something reasonable enough in this case. I'll file a new issue about the definition of usage. |
I've filed #66. |
VTTCue is for any VTTCue creation, whether from the JS constructor or
the WebVTT parser.
VTTCueParser is for the creation of a WebVTT parser for a
<track>
element.
VTTCueRender is for when a cue is actually displayed, which would be
on top of a playing
<video>
.