Skip to content

Reference

Target players ​

A player is the program that draws a Lottie file in a website or an app. They do not all draw the same things, so AXO judges every finding against the players you ship to. You choose them under Audit › Target players; see Audit › Target players.

The players AXO knows ​

PlayerWhat it isWhere your file meets it
lottie-web (SVG)The original web player, drawing with SVG. Ticked by default.Sites that load lottie-web (Bodymovin's own player).
lottie-web (Canvas)The same player, drawing on a canvas. Faster for big scenes, draws a few things differently.Sites that ask for renderer: "canvas".
lottie-web (HTML)The same player with HTML elements. The only lottie-web renderer with 3D and cameras, but weaker elsewhere.Rare: sites that ask for renderer: "html".
dotLottie (ThorVG)The LottieFiles player, with the ThorVG engine. Plays .lottie files, themes and state machines. Ticked by default.Sites that load @lottiefiles/dotlottie-web or its React, Vue and web-component versions; AXO's own Preview and test player.
lottie-androidAirbnb's Android player.Android apps.
lottie-iosAirbnb's iOS player.iPhone and iPad apps.
lottie-windows (WinUI)Microsoft's Windows player.Windows apps.
Telegram (rlottie)Telegram's own player, plus Telegram's upload rules..tgs stickers.
SVG + GSAP (JS)Not a player: AXO rebuilds the animation as SVG and GSAP code.The GSAP folder format.
Android AVD (XML)Not a player: AXO rebuilds the animation as an Android vector drawable.The AVD XML format.
SVG SMIL (XML)Not a player: AXO rebuilds the animation as an animated SVG.The SVG (SMIL) format.

How the choice changes the audit ​

A feature in your comp…is reported as
that a target player cannot drawan error (something will be missing) or a warning (it will look different)
that every target player drawsa note, or nothing

Targets change the severities only: the audit looks for the same things whatever you tick. Each finding's detail pane in the panel says which of your targets draw it; what the audit can repair is in Audit fixes.

Players with their own rules ​

PlayerWhat is special
Telegram stickersJudged against a real rlottie build and Telegram's list of banned features. In a sticker, text never draws, blend modes and effects are ignored, mask opacity and Mask Expansion are dropped, and a camera layer stops the sticker from rendering at all. A solid at half opacity and a Repeater fade come out exactly as in After Effects. Track mattes draw correctly; a matte that is not directly above its layer is still flagged, because rlottie pairs a matte with the layer above it. Upload rules: below.
lottie-web (HTML)Judged against lottie-web's own SVG renderer. A shape with a Repeater draws nothing, a text layer with any mask draws nothing, and track mattes are not applied.
The three generated formatsJudged from AXO's own converter code: what each one carries is in Output formats.

Findings only some players get ​

These are reported only when a player that gets them wrong is a target:

FindingPlayerWhat happens
A faded layer inside a faded precomplottie-web (Canvas)The precomp's opacity is dropped, so the layer is too solid.
Mask opacity, Mask Expansionlottie-web (Canvas)Every mask clips at full strength, on the path as drawn.
A gradient fade from opacity stops that sit apart from the colour stopslottie-web (Canvas)The gradient is drawn fully opaque.
Text on a mask pathlottie-web (Canvas)The layer draws nothing (SVG and dotLottie follow the path).
A text animator that scales, rotates or skews charactersdotLottieCharacters turn about their left edge instead of their anchor, and Grouping Alignment does nothing.
A marker past the work areadotLottieAsked for that segment by name, the player stops on one frame.
A blend mode on a shape group, fill or strokelottie-web, dotLottieThe shape blends as Normal.

Telegram upload rules ​

Telegram refuses a sticker that breaks one of these rules when you upload it. The audit checks them when Telegram (rlottie) is a target; the file size is checked by Build, on the written .tgs.

RuleLimit
Canvas512 × 512 px; or 512 on one side and 512–832 (in steps of 16) on the other; 100 × 100 for a thumbnail
Frame rate60 fps (30 is accepted)
Lengthat most 3 seconds
File sizeat most 64 KB, measured on the written .tgs
Not allowedauto-bezier position keys (the After Effects default), gradient strokes, solid layers, star and polygon shapes, time remapping, time stretch

AXO for After Effects