{"repo":"cookpete/react-player","free":true,"listed":false,"github":"https://github.com/cookpete/react-player","clone":"git clone https://github.com/cookpete/react-player.git","description":"A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion","language":"TypeScript","stars":10278,"topics":["react","media","player","video","audio","youtube","facebook","twitch","soundcloud","streamable"],"license":"MIT","category":"media-processing","readme_excerpt":"ReactPlayer A React component for playing a variety of URLs, including file paths, HLS, DASH, YouTube, Vimeo, Wistia and Mux. --- Version 3 of ReactPlayer is a major update with a new architecture and many new features. It is not backwards compatible with v2, so please see the migration guide for details. Using Next.js and need to handle video upload/processing? Check out next-video. ✨ The future of ReactPlayer Maintenance of ReactPlayer is being taken over by Mux. Mux is a video api for developers. The team at Mux have worked on many highly respected projects and are committed to improving video tooling for developers. ReactPlayer will remain open source, but with a higher rate of fixes and releases over time. Thanks to everyone in the community for your ongoing support. Usage If your build system supports import() statements and code splitting enable this to lazy load the appropriate player for the src you pass in. This adds several reactPlayer chunks to your output, but reduces your main bundle size. Demo page: https://cookpete.github.io/react-player The component parses a URL and loads in the appropriate markup and external SDKs to play media from various sources. Props can be passed in to control playback and react to events such as buffering or media ending. See the demo source for a full example. For platforms without direct use of npm modules, a minified version of ReactPlayer is located in dist after installing. To generate this file yourself, checkout the repo and r","default_branch":null,"files":null,"tree":[],"storefront":"/r/cookpete","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cookpete/react-player/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}