Adding YouTube Video in React
![Adding YouTube Video in React](https://i0.wp.com/images.pexels.com/photos/4680106/pexels-photo-4680106.jpeg?w=1200&ssl=1)
Tiempo de lectura: < 1 minuto Today we’re going to learn how we can add a YouTube video in React. The first thing we need to do is to add this dependency: npm install react-youtube –save Once installed, let’s create the component responsible for opening the YouTube video. We’ll call it YoutubePlayer.tsx import React from ‘react’; import YouTube, { YouTubeProps } … Read more