sxy-vue-video-player

0.0.4 • Public • Published
<script> export default { mounted() { console.log('this is current videojs instance object', this.myVideoPlayer) } // Omit the same parts as in the following component sample code // ... } </script>


# Issues

[videojs-contrib-hls - e is not defined](https://github.com/surmon-china/vue-video-player/issues/90)


# API
- component api:
  * `events` : `[ Array, default: [] ]` : custom videojs event to component
  * `playsinline` : `[ Boolean, default: false ]` : set player not full-screen in mobile device
  * `crossOrigin` : `[ String, default: '' ]` : set crossOrigin to video
  * `customEventName` : `[ String, default: 'statechanged' ]` : custom the state change event name

- video.js api
  * [video.js options](http://docs.videojs.com/tutorial-options.html)
  * [video.js docs](http://docs.videojs.com/)


# videojs plugins

- [videojs-resolution-switcher](https://github.com/kmoskwiak/videojs-resolution-switcher)
- [videojs-contrib-hls](https://github.com/videojs/videojs-contrib-hls)
- [videojs-youtube](https://github.com/videojs/videojs-youtube)
- [videojs-vimeo](https://github.com/videojs/videojs-vimeo)
- [videojs-hotkeys](https://github.com/ctd1500/videojs-hotkeys)
- [videojs-flash](https://github.com/videojs/videojs-flash)
- [videojs-contrib-ads](https://github.com/videojs/videojs-contrib-ads)
- [more plugins...](https://github.com/search?o=desc&q=videojs+plugin&s=stars&type=Repositories&utf8=%E2%9C%93)

Package Sidebar

Install

npm i sxy-vue-video-player

Weekly Downloads

2

Version

0.0.4

License

MIT

Unpacked Size

41.8 kB

Total Files

10

Last publish

Collaborators

  • shixiaoyu