0.1.2 • Published 7 years ago

react-youtube-grid v0.1.2

Weekly downloads
3
License
CC0-1.0
Repository
github
Last release
7 years ago

react-youtube-grid

A fully responsive grid implementation of YouTube iFrame embeds

This project began as a fork of this repo and turned into something else entirely.

Installation

npm install --save react-youtube-grid

Usage

<YouTubeGrid youtubeUrls={[array_of_youtube_ids]} />

Props

* youtubeUrls (required), array of strings: an array of length > 0 of the YouTube IDs of the videos to embed
* mobile (optional), integer: the integer value of the max-width breakpoint, in pixels,  for your mobile viewport (defaults to 601)
* tablet (optional), integer: the integer value of the max-width breakpoint, in pixels,  for your tablet viewport (defaults to 992)