youtube-bg-react
v0.0.1
Published
Youtube video as background for HTML elements
Downloads
10
Readme
youtube-bg-react
Youtube video as background for HTML elements
Install
npm install --save youtube-bg-react
Usage
import React, { Component } from 'react'
import YoutubeBg from 'youtube-bg-react'
import 'youtube-bg-react/dist/index.css'
class Example extends Component {
render() {
return <YoutubeBg videoId="<Youtube Video ID>"> { <Content> } </YoutubeBg>
}
}
License
MIT © Debdut