MCPcopy Index your code
hub / github.com/Debdut/youtube-bg-react

github.com/Debdut/youtube-bg-react @0.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.0.1 ↗ · + Follow
17 symbols 29 edges 9 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Extension points exported contracts — how you extend this code

SvgrComponent (Interface)
(no doc)
src/typings.d.ts
YouTubePlayer (Interface)
(no doc)
src/index.tsx
YoutubeEvent (Interface)
(no doc)
src/index.tsx
OptionalProps (Interface)
(no doc)
src/index.tsx
Props (Interface)
(no doc)
src/index.tsx
State (Interface)
(no doc)
src/index.tsx

Core symbols most depended-on inside this repo

render
called by 2
src/index.tsx
updateDimensions
called by 1
src/index.tsx
App
called by 0
example/src/App.tsx
constructor
called by 0
src/index.tsx
setContainer
called by 0
src/index.tsx
componentDidMount
called by 0
src/index.tsx
componentWillUnmount
called by 0
src/index.tsx
onEnd
called by 0
src/index.tsx

Shape

Method 8
Interface 6
Class 2
Function 1

Languages

TypeScript100%

Modules by API surface

src/index.tsx15 symbols
src/typings.d.ts1 symbols
example/src/App.tsx1 symbols

For agents

$ claude mcp add youtube-bg-react \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact