https://github.com/devaman/react-yt-wrap
https://github.com/devaman/react-yt-wrap
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devaman/react-yt-wrap
- Owner: devaman
- Created: 2020-01-31T19:10:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-25T09:51:30.000Z (over 5 years ago)
- Last Synced: 2025-02-21T06:18:06.424Z (over 1 year ago)
- Language: JavaScript
- Size: 521 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-yt-wrap
[](https://www.npmjs.com/package/react-yt-wrap)



[](http://hits.dwyl.io/devaman/react-yt-wrap)
## Import the modal.
```js
import YtWrap from 'react-yt-wrap';
```
## Usage
```js
```
See the example in src/index.js.
To run demo npm start.
## Props
id : https://www.youtube.com/watch?v=SKh1MJromYk
means => __SKh1MJromYk__
video : JSON object which contains all the props for the iframe . [See this](https://developers.google.com/youtube/player_parameters)
# Only for single video
# ChangeLog
- Picture in Picture mode added