GitHub
github.com › cookpete › react-player
GitHub - cookpete/react-player: A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion · GitHub
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion - cookpete/react-player
Starred by 10.2K users
Forked by 1.2K users
Languages TypeScript 75.4% | JavaScript 24.6%
SitePoint
sitepoint.com › blog › javascript › quick tip: build a video player component in react
Quick Tip: Build a Video Player Component in React — SitePoint
November 7, 2024 - Customizing the video player in React is possible and quite straightforward. You can modify the player’s appearance and functionality by using the ‘props’ in the Video-React library. For instance, you can change the player’s width and height, autoplay feature, muted state, and more.
React.js - react-player how to play local video
I am currently trying to play a video on local host in react.js. I am using the react-player module to create a video player component. I am able to play videos using urls such as youtube and faceb... More on stackoverflow.com
React-player Issue
I swear it's like people on this sub are allergic to sharing code when asking for help. More on reddit.com
react-playlist-player
That provider being necessary to use that component doesn't make sense imho, you should remove that. More on reddit.com
Can you use react-player to play videos that are uploaded on s3 bucket?
Yes you can, however it shouldn`t work as a video streaming. It will just download the video in the raw compression that you uploaded More on reddit.com
Videos
Build a React.js Video Player to Play Local MP4 Video Files ...
13:02
Creating Custom Video Player with React Player - YouTube
27:43
Build a React Video Player with Quality Switch, Chapters, Subtitles, ...
06:01
Practical React - 12 - Video Player - YouTube
r/reactjs on Reddit: React Player: Add Pop Up Videos in your React ...
02:06
How to Properly Control Video Playback with React Player: Solving ...
Cookpete
cookpete.com › react-player
ReactPlayer Demo
React component for playing a variety of video URLs, including YouTube, Facebook and Vimeo.
npm
npmjs.com › package › react-player
react-player - npm
A React component for playing a variety of URLs, including file paths, Mux, YouTube, Vimeo, and Wistia. Latest version: 3.4.0, last published: 4 months ago. Start using react-player in your project by running `npm i react-player`. There are ...
» npm install react-player
Published Nov 13, 2025
Version 3.4.0
Author Pete Cook
Repository https://github.com/cookpete/react-player
GitHub
github.com › cookpete › react-player › releases
Releases · cookpete/react-player
November 13, 2025 - A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion - cookpete/react-player
Author cookpete
CodeSandbox
codesandbox.io › examples › package › react-player
react-player examples - CodeSandbox
AboutA React component for playing a variety of URLs, including file paths, Mux, YouTube, Vimeo, and Wistia1,766,076Weekly Downloads
Rntp
rntp.dev
React Native Track Player — The Premium Audio Player for React Native
The most widely used audio playback library for React Native. Background playback, queue management, caching, preloading, Android Auto, and more.
Author Double Symmetry GmbH
npm
npmjs.com › package › @meetingmaker › react-player
@meetingmaker/react-player - npm
February 16, 2022 - A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion. Latest version: 2.9.6, last published: 4 years ago.
» npm install @meetingmaker/react-player
Published Feb 16, 2022
Version 2.9.6
Author Pete Cook
Repository https://github.com/nclong87/react-player
Brightcove
player.support.brightcove.com › coding-topics › react-player-loader.html
React Player Loader
In this topic, you will learn how to use the React Player Loader to load a Brightcove Player in the browser as a React component. The React Player Loader is an open source tool and is NOT officially supported by Brightcove. Also, this library supports only Brightcove Players v6.11.0 and higher.
FOX Carolina
foxcarolina.com › 2026 › 03 › 24 › watch-gamecocks-players-react-their-second-round-win-over-southern-cal
WATCH: Gamecocks players react to their second-round win over Southern Cal
COLUMBIA, S.C. (FOX Carolina) - South Carolina Gamecocks players react to the season’s final game in Colonial Life Arena, getting the victory over Southern Cal in the second round and their NCAA tournament mentality as they advance to the Sweet 16.
Published 5 days ago
Top answer 1 of 6
25
With a Create React App (short CRA) you could place your video files in the public folder e.g. in a subfolder videos. Then you can access that static file as you did it in your code.

CRA will just copy the files to the final static page as mentioned in the docs.
If you don't use a CRA setup you need to copy your video to the final bundle e.g. by using Webpack.
import React, { Component } from 'react'
import ReactPlayer from 'react-player'
class Video extends Component {
render () {
return (
<div className='player-wrapper'>
<ReactPlayer
className='react-player fixed-bottom'
url= 'videos/demo_video.MP4'
width='100%'
height='100%'
controls = {true}
/>
</div>
)
}
}
export default Video;
2 of 6
19
you have to create video object URL.
import React, { useState } from "react";
import ReactPlayer from "react-player";
const [videoFilePath, setVideoFilePath] = useState(null);
const handleVideoUpload = (event) => {
setVideoFilePath(URL.createObjectURL(event.target.files[0]));
};
....
<input type="file" onChange={handleVideoUpload} />
...
<ReactPlayer url={videoFilePath} width="100%" height="100%" controls={true} />
Gumlet
docs.gumlet.com › reference › insights-sdk-react-player
React Player (Web)
React Player is a popular player to play videos on reactive websites. It can play both HLS and DASH streams. Step 1: Initialise the player Initialise the player with the player options you want to configure it with.
Reddit
reddit.com › r/reactjs › custom react video player with buffering and playback controls.
r/reactjs on Reddit: Custom React video player with buffering and playback controls.
January 31, 2023 - A more elegant way of building Video players with React.js and Chakra UI.