Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Port of Paul Irish's Lite YouTube Embed to a React Component

License

Notifications You must be signed in to change notification settings

mcansh/lite-youtube-embed-react

Repository files navigation

Lite YouTube Embed - React

Port of Paul Irish's Lite YouTube Embed to a React Component

Installation

$ yarn add @mcansh/lite-youtube-embed-react
// or
$ npm install @mcansh/lite-youtube-embed-react

Basic Usage

import * as React from 'react';
import { render } from 'react-dom';
import { LiteYouTubeEmbed } from 'react-lite-youtube-embed';

const App = () => (
  <div>
    <LiteYouTubeEmbed id="ogfYd705cRs" />
  </div>
);

render(<App />, document.getElementById('root'));