Autoplay

Added autoplay support.