added autoplay to video on click