-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Re-expose TextTrack #2625
Re-expose TextTrack #2625
Conversation
Tests passed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED Commit: c7dd29bc6de68228dec4098b490fe4df7c1f234b (Please note that this is a fully automated comment.) |
LGTM. Though, still feels a bit weird to register it as a component. |
Yeah, components are a pretty specific concept in video.js with expected functions and such, so I don't think it's safe to register TextTrack as one, at least as it is. And maybe more importantly we don't want to set a trend of registering non-components this way. I think if we want this done quickly we should just export TextTrack onto the videojs object. |
I agree that it's weird as a component. Would it be preferable to simply expose it as |
+1 to |
I thought it might make sense for consistency with I'll make the change to expose it as a property of |
c7dd29b
to
e220c10
Compare
lgtm |
Tests failed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: BUSTED Commit: e220c10 (Please note that this is a fully automated comment.) |
Fixes #2623