Skip to content

Commit

Permalink
added shiv instructions to setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew McClure committed Oct 8, 2013
1 parent 3640623 commit da3550a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit da3550a

Please sign in to comment.