Add option to enable autoplay