Closed s3bubble closed 2 years ago
Thanks for the PR. Looking at the DASH spec, this label attribute doesn't seem standard. It seems like the standard way is to have a Label
element inside the AdaptationSet rather than a label attribute on the AdaptationSet element.
Your example is actually the first DASH example that I've seen labelling caption tracks. We'd have to consider whether we want to support something that isn't standard to the spec.
Currently when setting subtitles in DASH it uses the lang attribute by default.
It should use the label attribute if it is set in the manifest.
Example of issue here. https://jsbin.com/rinemex/edit?html,output
Relating to this issue. https://github.com/videojs/video.js/issues/7525