update README
Showing
1 changed file
with
2 additions
and
6 deletions
... | @@ -12,11 +12,8 @@ Download the [Media Source plugin](https://github.com/videojs/videojs-contrib-me | ... | @@ -12,11 +12,8 @@ Download the [Media Source plugin](https://github.com/videojs/videojs-contrib-me |
12 | <script src="videojs-media-sources.js"></script> | 12 | <script src="videojs-media-sources.js"></script> |
13 | <script src="videojs-hls.min.js"></script> | 13 | <script src="videojs-hls.min.js"></script> |
14 | <script> | 14 | <script> |
15 | var player = videojs('test-vid', { | 15 | var player = videojs('test-vid'); |
16 | techOrder: ['html5', 'hls', 'flash'] | 16 | player.play(); |
17 | }, function() { | ||
18 | this.play(); | ||
19 | }); | ||
20 | </script> | 17 | </script> |
21 | ``` | 18 | ``` |
22 | 19 | ||
... | @@ -60,7 +57,6 @@ other tech: | ... | @@ -60,7 +57,6 @@ other tech: |
60 | 57 | ||
61 | ```javascript | 58 | ```javascript |
62 | videojs(video, { | 59 | videojs(video, { |
63 | techOrder: ['hls'], | ||
64 | hls: { | 60 | hls: { |
65 | withCredentials: true | 61 | withCredentials: true |
66 | } | 62 | } | ... | ... |
-
Please register or sign in to post a comment