
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
reactvidplay
Advanced tools
# React Vid Player
A customizable React video player component with advanced controls, keyboard shortcuts, and modern UI.
<p align="center">
<img src="/assets/player.png" alt="React Vid Player Preview" width="800" />
</p>
## Installation
```bash
npm install reactvidplay
```
import React from "react";
import { ReactVidPlayer } from "reactvidplay";
import "reactvidplay/dist/ReactVidPlayer.css"; // Import CSS
function App() {
return (
<div>
<ReactVidPlayer
src="https://example.com/video.mp4"
width="800px"
height="450px"
color="#ff0000"
/>
</div>
);
}
export default App;
Space → Play/Pause← → Skip backward 10s→ → Skip forward 10s↑ → Volume up↓ → Volume down| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | required | Video source URL |
| controls | boolean | true | Show custom controls |
| autoplay | boolean | false | Auto play video |
| muted | boolean | false | Mute video initially |
| loop | boolean | false | Loop video |
| contextMenu | boolean | false | Enable right-click context menu |
| poster | string | - | Poster image URL |
| width | string | number | '100%' | Video width |
| height | string | number | 'auto' | Video height |
| className | string | '' | Additional CSS class |
| color | string | '#ff0000' | Theme color for controls |
| onPlay | function | - | Called when video starts |
| onPause | function | - | Called when video pauses |
| onTimeUpdate | function | - | Called on time update |
| onEnded | function | - | Called when video ends |
MIT
FAQs
A good looking customizable React video player component
We found that reactvidplay demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies