1 messages · Page 1 of 1 (latest)
How can I add autoplay to the video tag using a condition?
autoplay
video
Try:
<video autoplay={condition ? true : null} />
setting the attribute to null should remove it.