add autoplay and loop options