Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: TextTrackButton on Safari and iOS #4350

Merged
merged 1 commit into from
May 12, 2017
Merged

fix: TextTrackButton on Safari and iOS #4350

merged 1 commit into from
May 12, 2017

Conversation

gkatsev
Copy link
Member

@gkatsev gkatsev commented May 11, 2017

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_.

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_`.
@gkatsev gkatsev merged commit 3dcfa95 into master May 12, 2017
@gkatsev gkatsev deleted the fix-kinds branch May 25, 2017 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants