Add Autoplay video to your React landing page

Add Autoplay video to your React landing page

Here's how you can add a video that auto-plays without audio. Perfect for your landing page.

  <videom
              playsInline
              autoPlay
              muted
              poster="https://ruttl.com/assets/img/index-hero.jpg"
            >
              <source
                src="https://ruttl.com/assets/video/index-hero.webm"
                type="video/mp4"
              />
 </video>

Credits to ruttl.com for the sample video