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

Removed all the CDN logic #2230

Merged
merged 1 commit into from
Jun 5, 2015
Merged

Removed all the CDN logic #2230

merged 1 commit into from
Jun 5, 2015

Conversation

heff
Copy link
Member

@heff heff commented Jun 3, 2015

And moved it into videojs/cdn#3

closes #2159

@@ -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",
Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^1.1.0

Copy link
Member Author

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.

Copy link
Member Author

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.

@heff heff force-pushed the remove-cdn branch 4 times, most recently from 487af3b to 2725ac5 Compare June 5, 2015 22:24
@mmcc
Copy link
Member

mmcc commented Jun 5, 2015

lgtm

@mmcc
Copy link
Member

mmcc commented Jun 5, 2015

(travis failure was vjs_getproperty)

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

Move CDN logic into its own repo, version the swf separately on the CDN
3 participants