youtube-bg-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

youtube-bg-react

Youtube video as background for HTML elements

NPM JavaScript Style Guide

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

Readme

Keywords

none

Package Sidebar

Install

npm i youtube-bg-react

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

37.5 kB

Total Files

9

Last publish

Collaborators

  • debdut