Muted Autoplay is just the way it works now in Chrome (and soon, very likely, all browsers).
There's no code to fix it, the browser itself is what's keeping it from functioning the way you'd like.
I think we've had a similiar dicussion on these forums before . Autoplay muted is the default policy on a lot of devices as Jon says and then on some devices it may not autoplay at all, so you may need controls as a fallback so the user can manually start the video. Something like this:
<video playsinline autoplay loop muted controls> <source type="video/mp4" src="/video/test.mp4> <source type="video/webm" src="video/test.webm"> </video>
|
Would an extension like this be any use to you: Video Background Magic