-
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
How can i prevent video.js from putting styles in head #3051
Comments
Right now you can't. I'm another person who isn't entirely too happy with this either. I've stripped the defaults from my player already, and was also thinking of stripping the 'per video' styles. I like styles, but this whole strategy seems a little bit 'over the top' to me. I might consider making an official patch to make this behavior configurable. |
There isn't a way to do it right now. |
I use virtual-dom for manipulating the title in the head tag, but because the styles are inserted at the beginning, virtual-dom isn't able to diff properly. |
I'm confused about what this thread is talking about. If the discussion is about the base theme getting inserted in the head, you just need to set |
Oh, totally didn't remember that variable. We probably should make sure that all of the style elements we put into the head element respect that property then. The style-defaults doesn't. I don't think the |
Yeah I think those styles should probably go in base-styles. |
Thanks!. |
So, looks like the I'll be working on those now. |
A PR for this is now available, see #3093. |
This has been fixed via #3093. |
No description provided.
The text was updated successfully, but these errors were encountered: