File size test: Video vs Lottie
And again the warnings:
Some modern browsers may block auto-playing of any video content.
Try to click on a stopped video.
HTML5 video MP4 1024x1024 pixels, 333kb
JSON animation 1024x1024 pixels, 22kb + 151kb the Lottie light library (one connection)