1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-02 11:34:50 +02:00
video.js/docs/skins.md

22 lines
1.0 KiB
Markdown
Raw Normal View History

2012-01-09 10:05:19 -08:00
Skins
=====
2012-01-09 13:32:10 -08:00
The default Video.js skin is made using HTML and CSS, so there's no need to learn a complicated skinning language to update colors or even create an entirely new skin. New in version 3.0 is the use of a sprites image file (video-js.png). The image allows for a little bit more classy design, as well as compatibility with older versions of IE now that the HTML skin also shows when Flash is used for those browsers.
2013-05-10 12:34:36 -05:00
You can view the uncompressed CSS for the default skin by downloading the latest version of Video.js or viewing [the source version](https://github.com/videojs/video.js/blob/master/src/css/video-js.css) on Github.
2012-01-09 13:32:10 -08:00
You can either override styles in the default skin:
```css
2012-01-09 13:32:10 -08:00
.vjs-default-skin .vjs-play-progress { background: #900; }
```
2012-01-09 13:32:10 -08:00
Or remove the 'vjs-default-skin' class from the video tag and create your own skin.
```html
2012-01-09 13:32:10 -08:00
<video class="video-js my-custom-skin" ...>
```
2012-01-09 13:32:10 -08:00
2012-11-14 19:29:03 -08:00
More custom skins will be available for download soon. If you have one you'd like to contribute back, please email it to skins at videojs.
2012-01-09 13:32:10 -08:00