Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: TextTrackButton on Safari and iOS (#4350)
On Safari and iOS, we use native text tracks, so, during text track button creation, textTracks() is populated. However, `this.kinds_` isn't necessarily set and ends up throwing. Instead, we want to move the fallback for `this.kinds_` from the constructor and right above the usage of `this.kinds_`.
- Loading branch information