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 2.4.5 to 2.5.0

1

index.js

@@ -24,2 +24,3 @@ /**

if (configs.youtube) require('videojs-youtube')
if (configs.vimeo) require('videojs-vimeo')
if (configs.switcher) require('videojs-resolution-switcher')

@@ -26,0 +27,0 @@ },

3

package.json
{
"name": "vue-video-player",
"version": "2.4.5",
"version": "2.5.0",
"description": "Video Player component for Vue.js(1.x ~ 2.x)",

@@ -33,2 +33,3 @@ "main": "index.js",

"videojs-youtube": "^2.1.1",
"videojs-vimeo": "^2.0.2",
"videojs-contrib-hls": "^3.6.0",

@@ -35,0 +36,0 @@ "videojs-resolution-switcher": "^0.4.2"

@@ -11,4 +11,8 @@ [![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)

Video/Live player for Vue.js(1.x ~ 2.x)
基于 [video.js](https://github.com/videojs/video.js) + [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)
基于 [video.js](https://github.com/videojs/video.js) + [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)
> ### V2.5.0
> Added vimeo support
> ### V2.4.5

@@ -172,2 +176,19 @@ > ...

// vimeo - player config example
export default {
data () {
return {
videoOptions: {
source: {
type: "video/vimeo",
src: "https://vimeo.com/167054481"
},
techOrder: ["vimeo"],
autoplay: false,
controls: false
}
}
}
}
//-------------------------------------------------------------

@@ -233,3 +254,3 @@ // player state changed callback event

| language | String | player language(default: 'en') |
| techOrder | Array | player support video type (default: example) | ['html5', 'flash', 'youtube'] |
| techOrder | Array | player support video type (default: example) | ['html5', 'flash', 'youtube', 'vimeo'] |
| customEventName| String | player state changed event name (default: example) | 'player-state-changed' |

@@ -250,4 +271,6 @@

[videojs-vimeo](https://github.com/videojs/videojs-vimeo)
# Author Blog
[Surmon](http://surmon.me)

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