yarn add react-player
import ReactPlayer from 'react-player'
<ReactPlayer url='https://www.youtube.com/watch?v=ysz5S6PUM-U' />
<ReactPlayer url="https://www.youtube.com/watch?v=D3ZFtSoWtRc"
width={500} height={500} playing={true} muted={true}/>