|
21 | 21 |
|
22 | 22 | [Demo Page](https://surmon-china.github.io/vue-video-player)
|
23 | 23 |
|
| 24 | +[CDN Example](https://jsfiddle.net/u69gnx90/) |
| 25 | + |
24 | 26 | [nuxt.js/ssr example code](https://github.com/surmon-china/vue-video-player/blob/master/examples/nuxt-ssr-example)
|
25 | 27 |
|
26 | 28 | [More Example Code](https://github.com/surmon-china/vue-video-player/tree/master/examples)
|
|
32 | 34 |
|
33 | 35 | ``` html
|
34 | 36 | <link rel="stylesheet" href="path/to/video.js/dist/video-js.css"/>
|
35 |
| -<script type="text/javascript" src="path/to/video-js.js"></script> |
| 37 | +<script type="text/javascript" src="path/to/video.min.js"></script> |
36 | 38 | <script type="text/javascript" src="path/to/vue.min.js"></script>
|
37 | 39 | <script type="text/javascript" src="path/to/dist/vue-video-player.js"></script>
|
38 | 40 | <script type="text/javascript">
|
@@ -229,10 +231,10 @@ videojs.addLanguage('es', {
|
229 | 231 |
|
230 | 232 | # API
|
231 | 233 | - component api:
|
232 |
| - * `events`(array, default: []): custom videojs event to component |
233 |
| - * `playsinline`(boolean, default: false): set player not full-screen in mobile device |
234 |
| - * `crossOrigin`(string, default: ''): set crossOrigin to video |
235 |
| - * `customEventName`(string, default: 'statechanged'): custom the state change event name |
| 234 | + * `events`: `[array, default: [] ]`: custom videojs event to component |
| 235 | + * `playsinline`: `[boolean, default: false ]`: set player not full-screen in mobile device |
| 236 | + * `crossOrigin`: `[string, default: '' ]`: set crossOrigin to video |
| 237 | + * `customEventName`: `[string, default: 'statechanged' ]`: custom the state change event name |
236 | 238 |
|
237 | 239 | - video.js api
|
238 | 240 | * [video.js options](http://docs.videojs.com/tutorial-options.html)
|
|
0 commit comments