From f9268a8e995718698771bc41f89c0241d4fb408a Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Thu, 6 Oct 2016 08:21:22 +0100 Subject: [PATCH] Tweak readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e5458b6a..f3701f8b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ A react component for playing media from YouTube, SoundCloud, Streamable or Vime The component parses a URL and loads in the appropriate markup and external SDKs to play media from [various sources](#supported-media). [Props](#props) can be passed in to control playback and react to events such as buffering or media ending. -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). If you are playing `Streamable` videos you will also need a [`fetch` polyfill](https://github.com/github/fetch) for [browsers without `fetch`](http://caniuse.com/#feat=fetch) +### Polyfills + +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). To support `Streamable` videos you will also need a [`fetch` polyfill](https://github.com/github/fetch) for [browsers without `fetch`](http://caniuse.com/#feat=fetch) ### Usage