d7c2b800 by David LaPalomento

Merge pull request #81 from mmcc/include-media-source

Updated readme to include media source plugin
2 parents 19b052a5 f70548fd
......@@ -5,16 +5,18 @@ A video.js tech that plays HLS video on platforms that don't support it but have
[![Build Status](https://travis-ci.org/videojs/videojs-contrib-hls.svg?branch=master)](https://travis-ci.org/videojs/videojs-contrib-hls)
## Getting Started
Download the [tech](https://github.com/videojs/videojs-contrib-hls/releases). On your web page:
Download the [Media Source plugin](https://github.com/videojs/videojs-contrib-media-sources/releases) as well as the [HLS tech](https://github.com/videojs/videojs-contrib-hls/releases). On your web page:
```html
<script src="video.js"></script>
<script src="videojs-media-sources.js"></script>
<script src="videojs-hls.min.js"></script>
<script>
var player = videojs('video', {
var player = videojs('test-vid', {
techOrder: ['html5', 'hls', 'flash']
}, function() {
this.play();
});
player.play();
</script>
```
......