.lottie VS JSON Lottie... Can .lottie be used in webflow?

I had someone create a lottie animation and he delivered it in two formats. One is a JSON Adobe After Effects Lottie and the other is a .lottie with a ‘Lottie File’ type. The JSON is 1000kb and the Lottie file is 80kb. I want to use the compressed lottie file but I dont know if webflow accepts it. Is there a way to use the compressed lottie file in Webflow?

You have to embed it with custom code, but you will need a cdn to upload the file dotlottie/player-component (github.com)