Added autoplay switch recognition and full spec loop and autoplay options