Skip to content

Commit

Permalink
@iSimonWeb added font-path variable. closes #1847
Browse files Browse the repository at this point in the history
  • Loading branch information
iSimonWeb authored and heff committed Feb 12, 2015
1 parent 1036338 commit 3459381
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ CHANGELOG
* @dmlap Add network and ready state properties ([view](https://github.com/videojs/video.js/pull/1854))
* @woollybogger exported the hasClass function ([view](https://github.com/videojs/video.js/pull/1839))
* @DevGavin fixed the Chinese translation ([view](https://github.com/videojs/video.js/pull/1841))
* @iSimonWeb added font-path variable ([view](https://github.com/videojs/video.js/pull/1847))

--------------------

Expand Down
11 changes: 6 additions & 5 deletions src/css/video-js.less
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ e.g. <video class="video-js my-skin-name">
The control icons are from a custom font. Each icon corresponds to a character
(e.g. "\e001"). Font icons allow for easy scaling and coloring of icons.
*/
@vjs-font-path: 'font';
@font-face{
font-family: 'VideoJS';
src: url('font/vjs.eot');
src: url('font/vjs.eot?#iefix') format('embedded-opentype'),
url('font/vjs.woff') format('woff'),
url('font/vjs.ttf') format('truetype'),
url('font/vjs.svg#icomoon') format('svg');
src: url('@{vjs-font-path}/vjs.eot');
src: url('@{vjs-font-path}/vjs.eot?#iefix') format('embedded-opentype'),
url('@{vjs-font-path}/vjs.woff') format('woff'),
url('@{vjs-font-path}/vjs.ttf') format('truetype'),
url('@{vjs-font-path}/vjs.svg#icomoon') format('svg');

font-weight: normal;
font-style: normal;
Expand Down

0 comments on commit 3459381

Please sign in to comment.