Skip to content

Commit 23b6334

Browse files
authored
docs: readme updates, next-video callout (#1751)
* docs: remove polyfills section, outdated * docs: add next-video callout
1 parent 6dfff1c commit 23b6334

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, Mixcloud, DailyMotion and Kaltura. Not using React? <a href='#standalone-player'>No problem.</a>
1313
</p>
1414

15+
---
16+
17+
> Using Next.js and need to handle video upload/processing? Check out [next-video](https://github.com/muxinc/next-video).
18+
1519
### ✨ The future of ReactPlayer
1620

1721
Maintenance of ReactPlayer is being taken over by [Mux](https://www.mux.com). The team at Mux have worked on many highly respected projects and are committed to improving video tooling for developers.
@@ -58,11 +62,6 @@ The component parses a URL and loads in the appropriate markup and external SDKs
5862

5963
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 run `npm run build:dist`.
6064

61-
#### Polyfills
62-
63-
* If you are using `npm` and need to support [browsers without `Promise`](http://caniuse.com/#feat=promises) you will need a [`Promise` polyfill](https://github.com/stefanpenner/es6-promise).
64-
* To support IE11 you will need to use [`babel-polyfill`](https://babeljs.io/docs/usage/polyfill) or a similar ES2015+ polyfill.
65-
6665
#### Autoplay
6766

6867
As of Chrome 66, [videos must be `muted` in order to play automatically](https://www.theverge.com/2018/3/22/17150870/google-chrome-autoplay-videos-sound-mute-update). Some players, like Facebook, cannot be unmuted until the user interacts with the video, so you may want to enable `controls` to allow users to unmute videos themselves. Please set `muted={true}`.

0 commit comments

Comments
 (0)