Management of forced subtitles#3022
Conversation
externs/shaka/player.js
Outdated
| * @property {boolean} preferredTextLanguageForced | ||
| * If true, a forced text track is preferred. Defaults to false. |
There was a problem hiding this comment.
I did not understand the meaning of this flag from the name alone. Now that I am reading the description, I feel like "preferForcedSubs" would make more sense.
Also, can you please clarify the behavior in combination with other settings? For example, it seems like this is to choose between multiple tracks with the same language and different "forced" settings. So, if my content has en & en-forced, and I prefer en, this flag controls which one I get. But if my content has en & fr & en-forced, and I prefer fr, this flag won't have any effect. Is that correct?
There was a problem hiding this comment.
I have changed the name, I have put a more detailed description and I have added a new test to make everything clearer.
|
@joeyparrish can you review it? |
|
All tests passed! |
|
All tests passed! |
Closes: #2947