@u-wave/react-youtube
YouTube player component for React.
Install - Usage - Demo - Props
Install
npm install --save @u-wave/react-youtube
Usage
Demo - Demo source code
import YouTube from '@u-wave/react-youtube';
<YouTube
video="x2to0hs"
autoplay
/>
Props
Related
- react-dailymotion - A Dailymotion component with a similar declarative API.
- @u-wave/react-vimeo - A Vimeo component with a similar declarative API.
- react-youtube - A widely-used YouTube component. Its API matches the YouTube iframe API more closely, and it doesn't support prop-based volume/quality/playback changes.
License
MIT