# react-native-iframe-youtube-player

A `<YoutubePlayer />` component for React Native.

## Installation

```sh
npm install react-native-iframe-youtube-player
npm install react-native-webview
or

yarn add react-native-iframe-youtube-player
yarn add react-native-webview

```

## Usage

```js
import YoutubePlayer from 'react-native-iframe-youtube-player';

// ...

<YoutubePlayer videoId="froKmdjJRfE" />;
```

## Example
<img src="https://i.imgur.com/apNMHVj.jpg" width="400">

```js
import React from 'react';
import YoutubePlayer from 'react-native-iframe-youtube-player';

function App() {
  return <YoutubePlayer videoId="froKmdjJRfE" />;
}

export default App;
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
