I am trying to have a loop of several background videos for my react page. I thought of using this :
<video className={classes.videobg} autoPlay loop muted>
<source src={videourl1} type='video/mp4' />
<source src={videourl2} type='video/mp4' />
Your browser does not support the video tag
</video>
but it's not working, it only shows a loop of the first video. Is there a way to have it done?
Thank you!