-
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
Removed all the CDN logic #2230
Conversation
@@ -27,6 +27,7 @@ | |||
"lodash-compat": "^3.9.3", | |||
"object.assign": "^2.0.1", | |||
"safe-json-parse": "^4.0.0", | |||
"videojs-font": "1.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to make this a strict requirement? We should relax this so it will pull the most recent version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^1.1.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I originally locked it down as a convenience for the CDN stuff, but we talked offline and decided to lock it down for better reasons.
- We want to be able to call out specific font changes in the video.js change log, or at least have the option to.
- At the CDN level we can't use the auto-updating font because we also base64 encode fonts into the CSS, so the versions would get mismatched. Also the CDN has to point to a specific hosted version of the font, so it needs some way to know the specific font version that was used. It can't get that from a flexible version number.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, should we be more careful with the compiled dependencies? Lodash I feel safe enough with, but for the others the carat feels pretty trusting of the other project authors and npm to not make any mistakes.
487af3b
to
2725ac5
Compare
lgtm |
(travis failure was |
See videojs/cdn#3 - Added a guide note about skipping analytics tracking on the CDN - Updated videojs-font - Added videojs-ie8 as a dependency - Updated the examples directory URLs and added to dist - Updated CSS to override font path
And moved it into videojs/cdn#3
closes #2159