index2.php, javascript to autoplay video on click