This project demonstrates various examples of using the react-yt-flexible library, a flexible React component for embedding YouTube videos with thumbnail support.
This repository contains a collection of examples showcasing the capabilities of the react-yt-flexible library. It's designed to help developers understand how to integrate and customize YouTube videos and thumbnails in their React applications using this versatile component.
- Demonstration of embedding YouTube videos
- Examples of using YouTube thumbnails with custom styling
- Showcase of different aspect ratios and border radius options
- Integration with Tailwind CSS for responsive design
- Node.js (v14 or later recommended)
- npm or yarn
-
Clone the repository:
git clone https://github.com/luiserj/react-yt-flexible-examples.git -
Navigate to the project directory:
cd react-yt-flexible-examples -
Install dependencies:
npm installor
yarn install -
Start the development server:
npm run devor
yarn dev -
Open your browser and visit
http://localhost:3000to see the examples in action.