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

react-vimeo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-vimeo - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

lib/umd/ReactVimeo.js
/*
* React-Vimeo - React component to load video from Vimeo
* @version v0.0.2
* @version v0.0.3
* @link https://github.com/freecodecamp/react-vimeo

@@ -5,0 +5,0 @@ * @license MIT

/*
* React-Vimeo - React component to load video from Vimeo
* @version v0.0.2
* @version v0.0.3
* @link https://github.com/freecodecamp/react-vimeo

@@ -5,0 +5,0 @@ * @license MIT

{
"name": "react-vimeo",
"version": "0.0.2",
"version": "0.0.3",
"description": "React component to load video from Vimeo",

@@ -5,0 +5,0 @@ "author": {

@@ -59,9 +59,21 @@ # React Vimeo

`<Video>` component:
`<Vimeo>` component:
Property | Type | Default | Required | Description
-------- | ---- | ------- | -------- |-----------
videoId | `String` | none | yes | The video ID
onError | `Function` | noop | no | Callback function if the video can't be loaded
className | string | 'vimeo' | no | className applied to wrapping div
onCuechange | func | noop | no | called when the player que changes
onError | func | noop | no | called if the video metadata (thumbnail) can't be loaded
onFinish | func | noop | no | called when video completes
onLoadProgress | func | noop | no | called when part of video has loaded
onPause | func | noop | no | called when video is paused
onPlay | func | noop | no | called when video is played
onPlayProgress | func | noop | no | called when video play has progressed
onReady | func | noop | no | called when video has loaded and is ready to play. other event functions will not be called before this one other than onError
onSeek | func | noop | no | called when user seeks ahead in video
videoId | string | none | yes | The vimeo ID
Interactive api (play/pause actions, seek to `n`, etc..) to come in future versions
## License

@@ -68,0 +80,0 @@

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