Answer the question
In order to leave comments, you need to log in
How to enable autoplay and sound in video+html5?
Good afternoon, tell me please:
I open the video, but it has no sound ...
<video id="vidos" class="img-fluid" muted preload="auto" autoplay="true" loop="true">
<source src="/images/Silestone450.mp4" type="video/mp4">
</video>
<script>
jQuery("#vidos").prop('muted', false);
</script>
Answer the question
In order to leave comments, you need to log in
So remove the muted attribute from the code.
<video id="vidos" class="img-fluid" preload="auto" autoplay="true" loop="true">
<source src="/images/Silestone450.mp4" type="video/mp4">
</video>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question