react-player

github.com/cookpete/react-player Twitch Tools Open-source projectOpen source

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion

github.com/cookpete/react-player
react-player homepage screenshot

About react-player

React-player is an open source React component repository, originally created by cookpete and now maintained by the team at Mux. It is designed for embedding media playback in React applications, supporting a wide range of source types including direct file paths, HLS, DASH, and URLs from popular platforms such as YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion.

Developers can use the component to embed fully functional media players with customizable playback controls, event handling, and display options. It supports features like light mode thumbnail previews, lazy loading to reduce bundle size, and configurable props for adjusting volume, playback speed, looping and more. The tool is suited for React developers building web applications that require integrated media playback from multiple external or local sources.

Key features

  • Supports playback from YouTube, Vimeo, Twitch, SoundCloud and other major platforms
  • Works with local file paths, HLS and DASH media streams
  • Provides configurable props for playback control and event handling
  • Includes light mode for thumbnail previews that load full player on click
  • Supports lazy loading to reduce main React app bundle size
Best for: React developers building web apps that need embedded media playback from multiple sources.
Good for
  • Open source with a public repository and community contributions
  • Supports a wide range of popular media platforms and file types
  • Offers extensive customizable props for playback and display
  • Now maintained by Mux for more frequent fixes and releases
Watch out for
  • Version 3 is not backwards compatible with v2, requiring migration for existing users
  • Some playback features are limited to specific supported platforms

react-player at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

react-player alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

DouyinLiveRecorder

github.com/ihmily/DouyinLiveRecorder

可循环值守和多人录制的直播录制软件,支持抖音、TikTok、Youtube、快手、虎牙、斗鱼、B站、小红书、pandatv、sooplive、flextv、popkontv、twitcasting、winktv、百度、微博、酷狗、17Live、Twitch、Acfun、CHZZK、shopee等40+平台直播录制

Open source
24 alternatives

Popular in Twitch Tools

Well-known listings from the same topic.

All 110

react-player FAQ

What media platforms and file types does react-player support?
It supports playback from YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, DailyMotion, plus local file paths, HLS and DASH streams.
Is react-player free to use?
It is open source and available at no cost via npm or its public GitHub repository.
Does react-player work with Next.js?
The project recommends the separate next-video tool for Next.js video upload and processing, and the component can be integrated into Next.js React apps.
Can I customize react-player playback settings?
Yes, it provides props to adjust volume, playback rate, looping, controls and display modes like light previews.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing