modify autoplay config