Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-video-player

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-video-player - npm Package Compare versions

Comparing version 3.0.2 to 3.0.4

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc