Appearance
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
| Player | What it is | Where 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-android | Airbnb's Android player. | Android apps. |
| lottie-ios | Airbnb'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 draw | an error (something will be missing) or a warning (it will look different) |
| that every target player draws | a 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
| Player | What is special |
|---|---|
| Telegram stickers | Judged 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 formats | Judged 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:
| Finding | Player | What happens |
|---|---|---|
| A faded layer inside a faded precomp | lottie-web (Canvas) | The precomp's opacity is dropped, so the layer is too solid. |
| Mask opacity, Mask Expansion | lottie-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 stops | lottie-web (Canvas) | The gradient is drawn fully opaque. |
| Text on a mask path | lottie-web (Canvas) | The layer draws nothing (SVG and dotLottie follow the path). |
| A text animator that scales, rotates or skews characters | dotLottie | Characters turn about their left edge instead of their anchor, and Grouping Alignment does nothing. |
| A marker past the work area | dotLottie | Asked for that segment by name, the player stops on one frame. |
| A blend mode on a shape group, fill or stroke | lottie-web, dotLottie | The 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.
| Rule | Limit |
|---|---|
| Canvas | 512 × 512 px; or 512 on one side and 512–832 (in steps of 16) on the other; 100 × 100 for a thumbnail |
| Frame rate | 60 fps (30 is accepted) |
| Length | at most 3 seconds |
| File size | at most 64 KB, measured on the written .tgs |
| Not allowed | auto-bezier position keys (the After Effects default), gradient strokes, solid layers, star and polygon shapes, time remapping, time stretch |