Text track kind is misspelled #808
Labels
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
type: docs
Improvements or fixes to documentation
What version of Shaka Player are you using?
2.1.1
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from
master
?Yes
Are you using the demo app or your own custom app?
Both
Yes
What browser and OS are you using?
Chrome, FF, Edge, IE; MacOS
What did you do?
Calling
getTextTracks
in thetrackschanged
eventWhat content did you load?
http://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd
If standard demo asset, which one?
If custom asset, what manifest and license server URIs?
How did you interact with the content, if at all?
What did you expect to happen?
Tracks have a kind of
subtitles
orcaptions
What actually happened?
Kind is
subtitle
orcaption
I believe these enums are wrong: https://github.com/google/shaka-player/blob/01d64584224d4a9546cb0982b7047a6079f08c28/lib/util/manifest_parser_utils.js#L90-L93
According to the spec, valid kinds are
subtitles
orcaptions
here.https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
The text was updated successfully, but these errors were encountered: