
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
react-vimeo-oembed
Advanced tools
React component to easily embed Vimeo videos in your application
React component to embed Vimeo videos!
Install react-vimeo-oembed
with npm:
$ npm install react-vimeo-oembed --save
For CommonJS users:
import ReactVimeoOembed from 'react-vimeo-oembed';
or
import { ReactVimeoOembed } from 'react-vimeo-oembed';
Clone the repository and move into:
$ git clone git@github.com:RobertPTC/react-vimeo-oembed.git
$ cd react-vimeo-oembed
Install dependencies:
yarn install or npm i
Prepare the demo:
yarn demo or npm run demo
Run the server:
Open your browser and go to http://localhost:8080/
Name | Type | Description |
---|---|---|
videoId | Number | ID of the video you would like to show. |
options | Object | Options that determine how the video shows. Defaults to those found here. |
LoadingComponent | Element | Loader element. Shows as the Vimeo script tag is loading. |
errorCallback | Function | Function called if something goes wrong loading the Vimeo Oembed Player. Supplied with error object as argument. |
scriptLoadCallback | Function | Function called when Vimeo Oembed Player script has loaded. Supplied with the video JSON response as argument. |
className | String | Class applied to div containing the Vimeo Oembed Player. iframe. |
style | Object | Style applied to div containing the Vimeo Oembed Player iframe. |
master
)FAQs
React component to easily embed Vimeo videos in your application
The npm package react-vimeo-oembed receives a total of 39 weekly downloads. As such, react-vimeo-oembed popularity was classified as not popular.
We found that react-vimeo-oembed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.