heygen-com/hyperframes

lottie

提供 HyperFrames 嵌入 Lottie 与 dotLottie 动画的适配方法,涉及播放器、文件和播放控制。素材许可、文件体积、浏览器支持与降级表现仍需单独核对。

  • 历史版本 SKILL.md
  • 已有中文用途摘要
  • 安装与运行未实测
先判断是否解决你的问题

lottie 是什么?

提供 HyperFrames 嵌入 Lottie 与 dotLottie 动画的适配方法,涉及播放器、文件和播放控制。素材许可、文件体积、浏览器支持与降级表现仍需单独核对。

中文说明由本站依据来源整理;英文原文保留在页面下方。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 lottie,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 lottie

请在 Codex 的当前工作环境中安装并检查 lottie 这个 Skill。

项目身份:heygen-com/hyperframes / lottie
来源:https://github.com/heygen-com/hyperframes/blob/8662598a3ac64018a2999d189ffb369e6d46b53a/skills/lottie/SKILL.md
已定位的源文件:skills/lottie/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
需要核对时再展开原文

来源原文与资料状态

来源版本
历史源文件(2026-04-30T16:08:43+02:00);原目录已变更,本页解释所链接的历史版本,不代表当前安装方式。
源文件
已保存 SKILL.md,抓取于 2026-11-17T10:54:27.745Z
中文使用说明
已有中文用途摘要;具体用法尚待逐项整理
安装与任务测试
本站未执行安装或任务测试
来源复核
已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料

skills/lottie/SKILL.md · 抓取时间 2026-11-17T10:54:27.745Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Lottie and dotLottie adapter patterns for HyperFrames. Use when embedding lottie-web JSON animations, .lottie files, @lottiefiles/dotlottie-web players, registering instances on window.__hfLottie, or making After Effects exports deterministic in HyperFrames.

查看源文件章节 / Source sections
  • 原文:Lottie for HyperFrames
  • 原文:Contract
  • 原文:lottie-web Pattern
  • 原文:dotLottie Pattern
  • 原文:Multiple Animations
  • 原文:Good Uses
  • 原文:Avoid
  • 原文:Validation
  • 原文:Credits And References
原文:Lottie for HyperFrames

HyperFrames can seek both `lottie-web` and dotLottie players through its `lottie` runtime adapter. Lottie is a strong fit because the animation timeline is already encoded in the asset; HyperFrames only needs a player object it can seek.

原文:Contract

- Load assets from local project files, usually under `assets/`. - Set `autoplay: false`. - Prefer `loop: false` unless the user explicitly wants a loop. - Register every returned animation or player on `window.__hfLottie`. - Keep the Lottie container dimensions stable with CSS. The adapter seeks `lottie-web` with `goToAndStop(timeMs, false)` and dotLottie with frame or percentage APIs depending on player shape.

原文:lottie-web Pattern

```html <div id="logo-lottie" class="lottie-layer"></div> <script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.12.2/lottie.min.js"></script> <script> const anim = lottie.loadAnimation({ container: document.getElementById("logo-lottie"), renderer: "svg", loop: false, autoplay: false, path: "assets/logo-reveal.json", }); window.__hfLottie = window.__hfLottie || []; window.__hfLottie.push(anim); </script> ``` ```css .lottie-layer { width: 100%; height: 100%; } ```

原文:dotLottie Pattern

```html <canvas id="product-lottie" class="lottie-canvas"></canvas> <script src="https://unpkg.com/@lottiefiles/dotlottie-web"></script> <script> const player = new DotLottie({ canvas: document.getElementById("product-lottie"), src: "assets/product-flow.lottie", autoplay: false, loop: false, }); window.__hfLottie = window.__hfLottie || []; window.__hfLottie.push(player); </script> ``` ```css .lottie-canvas { width: 100%; height: 100%; display: block; } ```

原文:Multiple Animations

Push each player into the same registry: ```js window.__hfLottie = window.__hfLottie || []; window.__hfLottie.push(backgroundAnim); window.__hfLottie.push(iconAnim); window.__hfLottie.push(confettiAnim); ``` HyperFrames seeks them all to the same composition time.

原文:Good Uses

- After Effects exports that are already known to render correctly in lottie-web. - Logo reveals, icon loops, decorative accents, and product UI motion. - Translating Remotion Lottie usage into plain HyperFrames HTML.

文件 SHA256:35551db7646402f60c9622d64534b59a9a4aeaecf63253142bb295b4f6f34d94

仓库许可证记录:未提供;not-established,查看来源。

Skills.sh收录简介 · 2026-07-28

Lottie and dotLottie adapter patterns for HyperFrames. Use when embedding lottie-web JSON animations, .lottie files, @lottiefiles/dotlottie-web players,…

查看历史简介来源

这份历史简介在采集时已截断;完整用途和触发条件需打开来源核对。

历史收录数据

Skill标识lottie
来源仓库heygen-com/hyperframes
榜单快照2026-07-28
榜单口径Skills.sh累计安装量
快照名次290
快照累计安装量69971

历史资料说明

  • 所保留的来源简介在采集时已截断;完整触发条件、依赖及排除项须阅读源文件,本站不补写缺失部分。
  • 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。

此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源