mirror of
https://github.com/videojs/video.js.git
synced 2024-11-26 08:51:09 +02:00
added shiv instructions to setup
This commit is contained in:
parent
3640623147
commit
da3550a6d8
@ -10,6 +10,14 @@ You can download the Video.js source and host it on your own servers, or use the
|
||||
|
||||
> NOTE: If you're already using an HTML5 shiv like [Modernizr](http://modernizr.com/) you can include the Video.js JavaScript anywhere, however make sure your version of Modernizr includes the shiv for video.
|
||||
|
||||
> If you're not using something like Modernizr but still want to include Video.JS before the closing body tag, you can simply add your own shiv. Simply include this in the head of your document:
|
||||
|
||||
> ```html
|
||||
<script type="text/javascript">
|
||||
document.createElement('video');document.createElement('audio');
|
||||
</script>
|
||||
```
|
||||
|
||||
### CDN Version ###
|
||||
```html
|
||||
<link href="//vjs.zencdn.net/4.1/video-js.css" rel="stylesheet">
|
||||
|
Loading…
Reference in New Issue
Block a user