1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-12 11:15:04 +02:00
video.js/docs/skins.md

22 lines
1.0 KiB
Markdown
Raw Normal View History

2012-01-09 21:05:19 +03:00
Skins
=====
2012-01-10 00:32:10 +03: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.
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/zencoder/video-js/blob/master/design/video-js.css) on Github.
You can either override styles in the default skin:
```css
2012-01-10 00:32:10 +03:00
.vjs-default-skin .vjs-play-progress { background: #900; }
```
2012-01-10 00:32:10 +03:00
Or remove the 'vjs-default-skin' class from the video tag and create your own skin.
```html
2012-01-10 00:32:10 +03:00
<video class="video-js my-custom-skin" ...>
```
2012-01-10 00:32:10 +03:00
2012-11-15 06:29:03 +03: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-10 00:32:10 +03:00