vtt.js icon indicating copy to clipboard operation
vtt.js copied to clipboard

Allow for consumers to control whether or not styles are added to cues

Open evanfarina opened this issue 5 years ago • 0 comments

It is difficult and somewhat annoying to override inline styles that are being set on the cues. This PR still provides consumers with the styles that VTT feels are most accessible, but makes their application optional. Consumers, if they pass an option, will be notified via callback function when cue styles can be applied; the callback will receive a single argument, a hash of style properties to values, which it can use to set styles on its own.

evanfarina avatar May 11 '19 05:05 evanfarina