react-player
React component for playing files, YouTube, Vimeo and more video formats.
Files, images and media npm MIT
Used in agent projects
25
0.2% of 12,697 public repos built with AI coding agents
Rank in files, images and media
#41 of 52
by use in those projects
Downloads
2.7M
npm, last 7 days, react-player
GitHub stars
10.3K
last push Oct 3, 2026
How react-player is used
react-player is a dependency in 25 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #41 of 52 in files, images and media. The most used alternative there is Sharp. Projects that use it most often also use Class Variance Authority (60.0%), React (100.0%), Tailwind CSS (88.0%).
Often used with react-player
| Class Variance Authority | 60.0% of react-player projects · 4.3× more than average |
|---|---|
| React | 100.0% of react-player projects · 2.3× more than average |
| Tailwind CSS | 88.0% of react-player projects · 2.5× more than average |
| Tailwind Merge | 60.0% of react-player projects · 3.6× more than average |
| Radix UI | 52.0% of react-player projects · 4.3× more than average |
| date-fns | 52.0% of react-player projects · 6.1× more than average |
| Lucide React | 64.0% of react-player projects · 3.2× more than average |
| Next.js | 68.0% of react-player projects · 3.0× more than average |
By coding agent
| Cursor | 0.4% of projects set up for it |
|---|---|
| Claude Code | 0.3% of projects set up for it |
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list react-player as a dependency.
Install
| Package | npm install react-player |
|---|---|
| Main stacks | Next.js (18), TypeScript / JavaScript (6), PHP (1) |
| Example projects | fountain-ink/app, flow-industries/paper, mkdir700/EchoPlayer |
Alternatives to react-player
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Sharp npm High-speed image processing for resizing, converting JPEG, PNG, WebP, GIF formats. |
390 (3.1%) | 115M | 32.7K | Apache-2.0 |
| Pillow pypi Python imaging library for image processing, manipulation and conversion. |
292 (2.3%) | 138M | 13.9K | — |
| Nodemailer npm Send emails from Node.js applications with support for multiple transport methods. |
232 (1.8%) | 25.2M | 17.7K | MIT-0 |
| jsPDF npm Generate PDF documents directly from JavaScript in browsers and Node.js. |
184 (1.4%) | 15.6M | 31.3K | MIT |
| qrcode (JavaScript) npm Generate QR codes on server and client using canvas with Node.js and browser support. |
163 (1.3%) | 29.7M | 8,178 | MIT |
| SheetJS npm Parse and generate spreadsheets (Excel, CSV) in Node.js and browsers. |
146 (1.1%) | 12.7M | 36.3K | Apache-2.0 |
| html2canvas npm JavaScript library for taking screenshots of web pages and rendering HTML to canvas. |
115 (0.9%) | 18.5M | 31.9K | MIT |
| JSZip npm JavaScript library for creating, reading and editing ZIP archives in the browser. |
96 (0.8%) | 47.5M | 10.4K | (MIT OR GPL-3.0-or-later) |