If you want to autoplay an animated GIF, then you need to set the loop of that animated GIF to endless. For that, you can use some GIF animator tools. There exist some best free GIF maker and editor tools that you can try. Once you have installed a GIF maker and editor tool, open its interface, add your animated GIF, and check for an option that provides a loop field. There, enter 0 (for endless loop) or any other value to set the number of loops.