I found this MWE of a gif animnation on tex stackexchange https://www.overleaf.com/read/zxbnyqtwvhsy
\documentclass{article}
\usepackage{animate}
\usepackage{graphicx}
\usepackage{hyperref}
\begin{document}
\begin{figure}
\centering
\animategraphics[loop,controls,width=5cm]{20}{Monopole_anim-}{0}{29}
\caption{\url{https://commons.wikimedia.org/w/index.php?curid=37036050}}
\end{figure}
\end{document}
But I couldn't make it run. It get stuck on the first picture. Can you make it run ?
Can you tell me how to make it run on pdf outside overleaf ?