Added autoplay with video events at end