0

I have a video element with autoplay, muted, and loop. Occasionally Chrome will play the video but the vast majority of the time the video wont play at all.`

 <video autoplay muted loop playsinline poster="assets/images/poster.webp">
                        <source  src="assets/images/video.mp4" type="video/mp4" />
                    </video>

I've tried all sorts of different variations but in the end of the day the result remains the same.

Judah
  • 1
  • Welcome to [so] - Please read the [ask] page and include a [mre] of the issue you are having – blurfus May 16 '23 at 18:41
  • @Judah autoplay is stopped by browser like chrome. Until user interact, it will not autoplay. – Developer May 16 '23 at 18:43
  • Not a fix but note that the [](https://html.spec.whatwg.org/dev/embedded-content.html#the-source-element) tag does not use and does not need a closing slash and never has in any HTML specification. – Rob May 16 '23 at 21:50

0 Answers0