vue-video-player
Advanced tools
Comparing version 3.0.2 to 3.0.4
{ | ||
"name": "vue-video-player", | ||
"version": "3.0.2", | ||
"version": "3.0.4", | ||
"description": "Video Player component for Vue2", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -14,2 +14,5 @@ [![GitHub issues](https://img.shields.io/github/issues/surmon-china/vue-video-player.svg?style=flat-square)](https://github.com/surmon-china/vue-video-player/issues) | ||
# Update | ||
The latest version of the update, I hope the component itself is a simple and lightweight player, in addition to the videojs core library itself, no other packages; if you need other videojs extensions, you need to import the corresponding scriptjs plugin in the entry script file or component script Resource package. | ||
# Example | ||
@@ -50,2 +53,6 @@ [Demo Page](https://surmon-china.github.io/vue-video-player) | ||
// If you need to use more videojs extensions, you can introduce the corresponding videojs plug-in package before the vue program is instantiated, such as: | ||
require('some-videojs-plugin') | ||
// require more plugin resource... | ||
// mount with component(can't work in Nuxt.js/SSR) | ||
@@ -122,2 +129,4 @@ import { videoPlayer } from 'vue-video-player' | ||
<script> | ||
// Similarly, you can also introduce the plugin resource pack you want to use within the component | ||
// require('some-videojs-plugin') | ||
export default { | ||
@@ -206,3 +215,4 @@ data() { | ||
- [videojs-vimeo](https://github.com/videojs/videojs-vimeo) | ||
- [more ...](https://github.com/search?o=desc&q=videojs+plugin&s=stars&type=Repositories&utf8=%E2%9C%93) | ||
- [videojs-hotkeys](https://github.com/ctd1500/videojs-hotkeys) | ||
- [more plugins...](https://github.com/search?o=desc&q=videojs+plugin&s=stars&type=Repositories&utf8=%E2%9C%93) | ||
@@ -209,0 +219,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112591
218