
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
react-video-component
Advanced tools
npm install
npm run dev
import ReactVideoComponent from 'react-video-component';
This repo should not be used in production.
The component can have every listener the origin video tag has.
For example <video sources={[url..]} metadataloaded={this._onLoaded.bind(this)}/> calls the function _onLoaded, with the event as argument.
The video is so accessible through event.target.
A list of events can be found here.
Props:
| Property | Type | Default | Description |
|---|---|---|---|
| sources | Array | [] | Defines sources for the video. Must be an array of objects or strings, representing the url of the video. If object is given, it must have `src` key representing the url. |
| style | Object | {} | Style object that will apply to video tag element. |
| className | String | "" | Name of the class that will apply to video tag element. |
| attributes | Object | {} | Standard props of the video element ( e.g. "loop", "controls" ). |
| controls | Bool | true | Show or hide controls. |
| autohide | Bool | true | Automatically hide controls and overlay ( if "fixedoverlay" set to false ) when playing. |
| autohidecursor | Bool | true | Automatically hide cursor when playing. |
| overlay | Bool | true | Show or hide overlay. |
| fixedoverlay | Bool | false | Disable autohide for overlay. |
| shortcuts | Bool | true | Enable or disable keyboard shortcuts. |
| tabIndex | String | "1" | Tab index of the wrapper element. |
| width | String | "auto" | Width of the video element. |
| height | String | "100%" | Height of the video element. |
FAQs
Simple video component for react
We found that react-video-component 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.