|
|
@ -5,14 +5,14 @@ A video.js plugin that plays HLS video on platforms that don't support it but ha |
|
|
|
## Getting Started |
|
|
|
Download the [production version][min] or the [development version][max]. |
|
|
|
|
|
|
|
[min]: https://raw.bithub.com/dlapalomento/video-js-hls/master/dist/video-js-hls.min.js |
|
|
|
[max]: https://raw.bithub.com/dlapalomento/video-js-hls/master/dist/video-js-hls.js |
|
|
|
[min]: https://raw.bithub.com/dlapalomento/video-js-hls/master/dist/videojs-hls.min.js |
|
|
|
[max]: https://raw.bithub.com/dlapalomento/video-js-hls/master/dist/videojs-hls.js |
|
|
|
|
|
|
|
In your web page: |
|
|
|
|
|
|
|
```html |
|
|
|
<script src="video.js"></script> |
|
|
|
<script src="dist/video-js-hls.min.js"></script> |
|
|
|
<script src="dist/videojs-hls.min.js"></script> |
|
|
|
<script> |
|
|
|
var player = videojs('video'); |
|
|
|
player.hls(); |
|
|
|