Player Config

Use playerVars to configure the initial YouTube playback environment.

<YoutubePlayer
  source="AbZH7XWDW_k"
  playerVars={{
    autoplay: true,
    controls: true,
    playsinline: true,
    rel: false,
    muted: true,
  }}
/>

Common options include autoplay, controls, loop, muted, startTime, endTime, playsinline, rel, and origin.