adding autoplay functionality to video page