Issues publishing lottie file

Hello, I am trying to embed a lottie animation onto my Editor X site, and I gather I need to publish it in order to do that. Every time I try and go to publish though, it just keep infinitely loading. I have left it there for hours and same result. I’m just wondering what could be causing this, or whether there is a different way to integrate lottie files into editor x without publicly posting it on the Lottiefiles platform.