This play video function comes from my mini studio 1. In my studio project I have several videos playing at once and when you hover over any one of the videos, it will pause. When your mouse leaves the video, it will play again, which is where this function is used.
function playVideo(video) {
video.play();
}
const playVideo = function(video){
video.play();
}
const playVideo = video => video.play();