I want to change the video scr when play button is click my html is
<video class="mvideo" controls autoplay="autoplay">
<source class="video" src="path.mp4" type="video/mp4" />
</video>
<button class="button">Play</button>
and my jquery is
$(document).ready(function(){
$(".button").click(function(){
$(".video").attr("src","videos/Funny Cats.mp4");
})
});