We have an html element with the autoplay
, muted
and loop
attributes declared. We noticed that the video is being blocked from autoplaying, due to the new Chrome 66 autoplay policy. Logging video.muted returns false
in Chrome dev tools, but true
in Safari - is there any reason that Chrome would see the video as unmuted, even though that attribute is explicitly being set?
Edit: adding video tag markup:
<video preload="true" autoplay muted loop width="100" height="100" id="hero-video" class="fullscreen-video" aria-label="This is a background video showing example consumers.">
<source src="./assets/videos/myvideo.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
We're using Vue and Webpack in our build as well.