started autoplay logic