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: 5 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
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
Use ref to call instance methods on the player. See the demo app for an example of this. Since v3, the instance methods aim to be compatible with the HTMLMediaElement interface. By default ReactPlayer is a chromeless player. By setting the controls prop to true, you can enable the native controls for the player.
Starred by 10.2K users
Forked by 1.2K users
Languages TypeScript 75.4% | JavaScript 24.6%
Videos
06:56
React.js react-player Library Project to Play Youtube ...
09:38
Comment Intégrer des Vidéos en React avec React Player ? - YouTube
How to play or stream (HLS/h3u8 or WebM) any kind of video using ...
05:15
View YouTube Videos in React-JS | React Player Tutorial - YouTube
50:31
React video player with custom controls #4 - adding player and ...
06:01
Practical React - 12 - Video Player - YouTube
Cookpete
cookpete.com › react-player
ReactPlayer Demo - Pete Cook
React component for playing a variety of video URLs, including YouTube, Facebook and Vimeo.
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,796,424Weekly Downloads
Api
docs.api.video › sdks › player › apivideo-react-player
api.video React Player component · api.video documentation
Ads can be displayed in the player. To do so, you need to pass the ads option to the sdk constructor. In the ads object, pass the adTagUrl property with the url of the ad tag. The ad tag must be a VAST 2.0 or 3.0 url. For more information about VAST, check the IAB documentation.
Thedocs
thedocs.io › react-player
react-player documentation
Comprehensive, easy-to-follow documentation for the react-player repo, including installation guide, usage examples, and best practices.
Brightcove
player.support.brightcove.com › coding-topics › react-player-loader.html
React Player Loader
See the Pen React with Brightcove Player by Brightcove Learning Services (@bcls1969) on CodePen. If you want to use multiple accounts on the same page, you must use different player IDs (i.e., you can't have all as default). Here are some tips to effectively use the above CodePen: Toggle the actual display of the player by clicking the Result button. Click the HTML/CSS/JS buttons to display ONE of the code types. Later in this document the logic, flow and styling used in the application will be discussed in the Player/HTML configuration, Application flow and Application styling sections.
Npmdoc
npmdoc.github.io › node-npmdoc-react-player › build › apidoc.html
api documentation for react-player ...
api documentation for react-player (v0.15.0) · A react component for playing a variety of URLs, including file paths, YouTube, SoundCloud, Streamable, Vidme, Vimeo and Wistia · table of contents · module react-player · function react-player () · function react-player.propTypes.fileConfig ...
Gumlet
docs.gumlet.com › reference › insights-sdk-react-player
React Player (Web)
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. Pass the video URL to be played. You need to add a reference to the player ...
Flowplayer
docs.flowplayer.com › player › components › react
React
If you need some functionality outside of the default player you need to register them by hand. Example - loading a video from Flowplayer Platform using the OVP plugin: import Flowplayer from "@flowplayer/react-flowplayer" import OVPPlugin from "@flowplayer/player/plugins/ovp" import HLSPlugin from "@flowplayer/player/plugins/hls" import flowplayer from "@flowplayer/player" // Register plugins flowplayer(HLSPlugin, OVPPlugin) const MyApp = () => { return <Flowplayer token="<my-token>" src="<GUID from Flowplayer OVP platform>" /> }
Thedocs
thedocs.io › react-player › quick_start
Quick Start - react-player documentation
To call instance methods on the player, you can use a ref. For example, to seek to a specific time in the video. import React, { useRef } from 'react'; import ReactPlayer from 'react-player'; function ControllablePlayer() { const playerRef = useRef(null); const handleSeek = () => { // Seek to 10 seconds into the video if (playerRef.current) { playerRef.current.currentTime = 10; } }; return ( <div> <ReactPlayer ref={playerRef} src='https://stream.mux.com/maVbJv2GSYNRgS02kPXOOGdJMWGU1mkA019ZUjYE7VU7k' controls // Show native controls /> <button onClick={handleSeek}>Seek to 10s</button> </div> ); } export default ControllablePlayer;
Js
video-react.js.org › components
Player - Video-React
Video-React is a web video player built from the ground up for an HTML5 world using React library.
Livepeer
docs.livepeer.org › sdks › react › Player
Player - Livepeer Docs
Here’s how a full Player experience can be built with the primitives: ... import { cn } from "@/lib/utils"; import { ClipIcon, EnterFullscreenIcon, ExitFullscreenIcon, LoadingIcon, MuteIcon, PauseIcon, PictureInPictureIcon, PlayIcon, SettingsIcon, UnmuteIcon, } from "@livepeer/react/assets"; import * as Player from "@livepeer/react/player"; import * as Popover from "@radix-ui/react-popover"; import { ClipPayload } from "livepeer/dist/models/components"; import { CheckIcon, ChevronDownIcon, XIcon } from "lucide-react"; import React, { useCallback, useTransition } from "react"; import { toast
Js
video-react.js.org › components › player
Video-React - Player
import React, { Component } from 'react'; import { Player } from 'video-react'; import { Button, Form, FormGroup, Label, Input } from 'reactstrap'; export default class PlayerExample extends Component { constructor(props, context) { super(props, context); this.state = { playerSource: 'https://media.w3.org/2010/05/sintel/trailer_hd.mp4', inputVideoUrl: 'http://www.w3schools.com/html/mov_bbb.mp4' }; this.handleValueChange = this.handleValueChange.bind(this); this.updatePlayerInfo = this.updatePlayerInfo.bind(this); } componentDidUpdate(prevProps, prevState) { if (this.state.playerSource !== prev
UNPKG
unpkg.com › browse › react-player@1.9.2 › README.md
react-player
#### Standalone player If you aren’t using React, you can still render a player using the standalone library: ```html <script src='https://unpkg.com/react-player/dist/ReactPlayer.standalone.js'></script> <script> const container = document.getElementById('container') const url = 'https://www.youtube.com/watch?v=d46Azg3Pm4c' renderReactPlayer(container, { url, playing: true }) function pausePlayer () { renderReactPlayer(container, { url, playing: false }) } </script> ``` See [`jsFiddle` example](https://jsfiddle.net/krkcvx9s/) #### Adding custom players If you have your own player that is com
Cookpete
cookpete.github.io › react-player
ReactPlayer Demo
A React component for playing a variety of URLs, including file paths, Mux, YouTube, Vimeo, and Wistia
CodeSandbox
codesandbox.io › examples › package › react-player › index.html
react-player/index.html examples - CodeSandbox
Use this online react-player/index.html playground to view and fork react-player/index.html example apps and templates on CodeSandbox.
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
Ready Player Me
docs.readyplayer.me › ready-player-me › integration-guides › react
React | Ready Player Me
Integrate Ready Player Me with your React project · Quickstart · Learn how to install the required packages and load and render your first avatar in your React app. React Avatar Creator on GitHub · Check out the source code of the React Avatar Creator on GitHub · Visage on GitHub · Check out the source code of the Visage, the avatar render package, on GitHub · Visage Storybook · Check out the storybook documentation of the visage component ·