I need to implement a local autoplay video on my website. Still, I knew that newer browsers, i.e., Chrome, Mozilla, and Safari, have blocked autoplay when the video has no ‘muted’ attribute.
So,
Is there any way to autoplay the video unmuted(with sound) in HTML5 by any trick in HTML or Javascript?
Since, When I remove the ‘muted’ attribute, The video stops from autoplay by the Browser.
Here is the simple HTML5 code I use:
<body>
<div class="video-wrapper">
<video autoplay muted loop playsinline preload="metadata">
<source src="EDMVideo(Jay)_NEW.webm">
</video>
</div>
</body>