diff --git a/README.md b/README.md index 875ac93c..6f6f9f50 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,24 @@ See [the demo source](https://github.com/CookPete/react-player/blob/master/src/d For platforms like [Meteor](https://www.meteor.com) 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:browser` +#### Bower + +```bash +bower install react-player --save +``` + +```html + + + + +``` + ### Demo See a [live demo](http://cookpete.com/react-player), or run: diff --git a/bower.json b/bower.json new file mode 100644 index 00000000..dca26feb --- /dev/null +++ b/bower.json @@ -0,0 +1,37 @@ +{ + "name": "react-player", + "description": "A react component for playing a variety of URLs, including file paths, YouTube, SoundCloud and Vimeo", + "main": "dist/ReactPlayer.js", + "authors": [ + "Pete Cook (http://github.com/cookpete)" + ], + "license": "CC0-1.0", + "keywords": [ + "react", + "media", + "player", + "video", + "audio", + "youtube", + "soundcloud", + "vimeo", + "react-component" + ], + "homepage": "https://github.com/CookPete/react-player", + "moduleType": [ + "globals" + ], + "ignore": [ + "**/.*", + "node_modules", + "test", + "src", + "lib", + "server.js", + "index.html", + "webpack.config.*.js" + ], + "dependencies": { + "react": "^0.14.7" + } +}