forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): Allow showing track labels in UI
Instead of language, role, or both, it is sometimes useful for an application to show the "label" field of the corresponding "Track" object. Closes shaka-project#2927 Change-Id: Ifc2fa8137bc73ec704443c6071f102805f70dc3d
- Loading branch information
1 parent
3eca747
commit c7d0ce9
Showing
3 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -417,6 +417,7 @@ shaka.ui.TrackLabelFormat = { | |
'LANGUAGE': 0, | ||
'ROLE': 1, | ||
'LANGUAGE_ROLE': 2, | ||
'LABEL': 3, | ||
}; | ||
|
||
/** | ||
|