how to show video youtube react code example
Example: how to put a youtube video in react
import React from "react"
import ReactPlayer from "react-player"
function App() {
return (
<div>
<ReactPlayer
url="https://www.youtube.com/watch?v=ug50zmP9I7s"
/>
</div>
)
}
export default App