adding autoplay support 1