> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Lottie, Rive & emoji

> Phát animation Lottie và Rive của bạn, hoặc thêm một emoji động có sẵn.

Bạn tìm các element này trong **Library** → **Motion** → **Elements**, mục **Lottie, Rive & emoji**. Bấm vào một ô để thêm element tại playhead, hoặc kéo ô vào timeline. Chỉnh tuỳ chọn trong **Inspector**.

## Lottie animation

![Ảnh minh hoạ element Lottie animation](https://mintcdn.com/co-clip/FyDsT1DGYSUZToIZ/images/elements/lottie-rive-emoji/anim.lottie.webp?fit=max\&auto=format\&n=FyDsT1DGYSUZToIZ\&q=85\&s=2723c2e91061f8aa08b59a9ba4b001fa)

Phát một animation Lottie (`.json` hoặc `.lottie`) theo từng khung hình, có tốc độ, lặp lại và đổi màu.

Tuỳ chọn chính:

* **Animation**: file Lottie trong Media của bạn. **Starter animation** phát một mẫu của CoClip cho đến khi bạn chọn file.
* **Segment**: `all`, hoặc tên một marker trong file, để chỉ phát đoạn đó.
* **Recolor**: tối đa 8 cặp đổi màu, ví dụ sang màu thương hiệu.

**Khi nào dùng:** icon, sticker và vòng lặp nhỏ làm bằng After Effects hoặc tải về dạng Lottie.

## Rive animation

![Ảnh minh hoạ element Rive animation](https://mintcdn.com/co-clip/FyDsT1DGYSUZToIZ/images/elements/lottie-rive-emoji/anim.rive.webp?fit=max\&auto=format\&n=FyDsT1DGYSUZToIZ\&q=85\&s=e2f23fab2adaa291c4906daf6b4c5827)

Phát một file Rive (`.riv`): một artboard với state machine hoặc một timeline của nó.

Tuỳ chọn chính:

* **Animation**: file Rive trong Media của bạn.
* **State machine**: state machine sẽ chạy. Để trống thì chạy state machine đầu tiên.
* **Inputs**: tối đa 16 input của state machine, mỗi input được đặt tại cue riêng.

**Khi nào dùng:** animation Rive có nhiều trạng thái, cần đổi trạng thái đúng một thời điểm trong video.

## Animated emoji

![Ảnh minh hoạ element Animated emoji](https://mintcdn.com/co-clip/FyDsT1DGYSUZToIZ/images/elements/lottie-rive-emoji/anim.emoji.webp?fit=max\&auto=format\&n=FyDsT1DGYSUZToIZ\&q=85\&s=91e375e8f7dc206a127e101e099156f1)

Một trong 60 emoji động có sẵn (Noto Animated Emoji), lặp lại hoặc phát một lần, ở mọi kích thước.

Tuỳ chọn chính:

* **Emoji**: emoji sẽ phát.
* **Speed**: tốc độ phát từ 0.25 đến 4 (1 = tốc độ gốc).
* **Loop**: tắt thì emoji phát một lần rồi dừng ở khung cuối.

**Khi nào dùng:** biểu cảm nhanh cạnh người nói hoặc caption, không cần nhập file.

## Dùng file animation của bạn

**1. Nhập file**

Mở **Library** → **Media**, bấm **Import** và chọn file Lottie (`.json`, `.lottie`) hoặc Rive (`.riv`).

**2. Thêm vào timeline**

Kéo file vào timeline, hoặc bấm chuột phải và chọn **Add to timeline at playhead**. CoClip thêm element **Lottie animation** hoặc **Rive animation** để phát file đó.

**3. Ghi lại giấy phép**

Bấm chuột phải vào file và chọn **License…**. Điền **License name**, có thể thêm các link, **Author**, **Attribution required** và **Notes**. Bấm **Save**.

Ô file trong Media hiện tên giấy phép, hoặc **License unknown** khi chưa ghi. Link phải bắt đầu bằng `https://`; CoClip lưu link cùng project và không bao giờ mở chúng. Nếu file Lottie có expression của After Effects, CoClip vẽ animation mà bỏ qua expression.

## Trang liên quan

* [Tổng quan Elements](/docs/vi/library/elements/overview.md)
* [Nhập và quản lý media](/docs/vi/editing/import-media.md)
* [Inspector](/docs/vi/editing/inspector.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.