Autoplay a matplotlib animation jsthml element in streamlit

I have a matplotlib animation, that i need to present on my streamlit page. I used this line of code to build this.

components.html(anim.to_jshtml(fps=40, default_mode='once'), height=1000)

As a result, i get some kind of html player, where i can click on Play button and start my animation drawing, however i want that animation starts immediately when player appears. In other words, can i somehow set autoplay mode to the player?