# Chèn video từ youtube vào landing page

{% embed url="<https://youtu.be/egrjbtHuRbs?list=UUozN1-OuBI-qh9jJIp0prJQ>" %}

Để chèn video vào Landing page các bạn sử dụng phần tử **HTML.** Để thêm phần tử **HTML** vào trong landing page,các bạn chọn vào mục **Content**,tìm tới **HTML**, giữ chuột kéo và thả vào khu vực mà bạn muốn thêm vào.

![](/files/-MaU2TgZN9PvNHln8QxI)

Sau đó click vào phần tử trong landing page và chỉnh sửa, ô được đánh dấu màu đỏ phía dưới là ô lệnh của HTML

![](/files/-MaU2v1tBz1vEiUEc3NB)

Chèn đoạn mã sau vào ô lệnh của **HTML** :

```
<script src="https://app.clickbot.vn/assets/js/video.js"></script>
<div data-youtube-video="fOaIVlJnCrA"
     data-height="630px"></div>
```

Và thay nội dung của bạn vào 2 biến sau:

* **data-youtbe-video:** ID video trên youtube bạn muốn thêm vào.

![](/files/-MaU5bmimIj7TsmP4pAK)

* **data-height :** Chiều cao của video,ví dụ 270px&#x20;

Như vậy là bạn đã chèn xong video vào Landing page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.clickbot.vn/auto-email-sms-marketing/landing-page/chen-video-tu-youtube-vao-landing-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
