1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-31 03:11:11 +02:00

@iSimonWeb added font-path variable. closes #1847

This commit is contained in:
Simone 2015-02-12 15:48:45 -08:00 committed by heff
parent 1036338134
commit 3459381c2a
2 changed files with 7 additions and 5 deletions

View File

@ -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))
--------------------

View File

@ -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;