-
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
5.0: consider exposing some dom.js methods #2683
Comments
Btw I could create a PR for this :). Furthermore: we need a check on IE9 in our code (because the IMA SDK does not work in IE9). Could such a check be added to |
Any thoughts on this? |
I don't think we're against exposing those if they're useful to users. |
So should I then create a PR with the four specifc methods? And what about the IE9 check? |
I think we've previously been reluctant to add user agent checks that videojs itself doesn't use. |
Ok if al good I'll then create a PR with the four mentioned methods, ok? |
That would be awesome. Thanks! |
#2754 has been merged which should address this. |
We are currently using some methods from
dom.js
in our project.We can not directly
import
that file from outside of the video.js package, as it seems this is not allowed by browserify / babelify.This means we now have a copy of some of these functions, which is a shame.
It would be better if either these functions are exposed separately or if the whole
dom
file is exposed.We currently use these methods:
createEl
hasElClass
addElClass
removeElClass
Is this something that you would consider changing?
The text was updated successfully, but these errors were encountered: