As the webpage is opened, all the videos starts playing at the background automatically after 5 seconds i.e., the audio is heard even before clicking the image. how can i stop this from happening, the video has to open on button click and close. The videos have to work only on button click and close.
how would i achieve this? this is the fiddle https://jsfiddle.net/aaronfranco/L6xvLcuL/14/
<script>
$("#myBtn").click(function(){
$("#myModal").modal({backdrop: false});
});
$("#myBtn1").click(function(){
$("#myModal1").modal({backdrop: false});
});
$("#myBtn2").click(function(){
$("#myModal2").modal({backdrop: false});
});
</script>