Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-native-iframe-youtube-player

Tarkeshwar10842MIT0.1.4TypeScript support: included

A simple react native YouTube Player.

react-native, ios, android, YouTubePlayer, react-native-player, react-native-iframe-youtube-player

readme

react-native-iframe-youtube-player

A <YoutubePlayer /> component for React Native.

Installation

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

import YoutubePlayer from 'react-native-iframe-youtube-player';

// ...

<YoutubePlayer videoId="froKmdjJRfE" />;

Example

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 to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library