updated autoplay for videos