
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
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.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.