diff --git a/CHANGELOG.md b/CHANGELOG.md index 41182daaff..49b000b257 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ CHANGELOG * @Naouak updated time display to not change if values do not change ([view](https://github.com/videojs/video.js/pull/3101)) * @forbesjo updated track settings to not fail restoring settings when localStorage is not available ([view](https://github.com/videojs/video.js/pull/3120)) * @mister-ben Added en.json as localization template ([view](https://github.com/videojs/video.js/pull/3096)) +* @misteroneill added alt css as video-js-cdn.css ([view](https://github.com/videojs/video.js/pull/3118)) -------------------- diff --git a/build/grunt.js b/build/grunt.js index e56b77f2d8..11679a4e64 100644 --- a/build/grunt.js +++ b/build/grunt.js @@ -192,7 +192,7 @@ module.exports = function(grunt) { minify: { expand: true, cwd: 'build/temp/', - src: ['video-js.css'], + src: ['video-js.css', 'alt/video-js-cdn.css'], dest: 'build/temp/', ext: '.min.css' } @@ -200,7 +200,8 @@ module.exports = function(grunt) { sass: { build: { files: { - 'build/temp/video-js.css': 'src/css/vjs.scss' + 'build/temp/video-js.css': 'src/css/vjs.scss', + 'build/temp/alt/video-js-cdn.css': 'src/css/vjs-cdn.scss' } } }, diff --git a/src/css/vjs-cdn.scss b/src/css/vjs-cdn.scss new file mode 100644 index 0000000000..abf75b6b46 --- /dev/null +++ b/src/css/vjs-cdn.scss @@ -0,0 +1,3 @@ +$icon-font-path: '//vjs.zencdn.net/font/1.5.1'; + +@import 'video-js';