# How to insert YouTube video in app?

You can insert YouTube video in this way:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FCwd9wG4wktU2IX1cCSKP%2Fimage.png?alt=media&#x26;token=d3aca792-d00e-4a10-aebb-53b037220861" alt=""><figcaption></figcaption></figure>

To insert the video, follow the following steps:

1. Go to YouTube video.
2. Click button “share” below the video:

![](https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FW5RhqwwhuH9M0iGgELg6%2Fimage.png?alt=media\&token=769a958c-02b3-4ca8-b87f-8af9ad50d934)

3. Select “embed”:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FHBUrDNJTwHpnbAe4MjJa%2Fimage.png?alt=media&#x26;token=0c0e8dd5-833d-4314-add3-d23db9676ec5" alt="" width="265"><figcaption></figcaption></figure>

3. Copy the code:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FAqIwz6JagmVYWHqhRJed%2Fimage.png?alt=media&#x26;token=b3f75776-4a3f-4640-a9a9-e9f416a64fde" alt="" width="362"><figcaption></figcaption></figure>

4. Add container and HTML block to the screen. Select “full screen height for the container”:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FOXPpli9qDrkMqmNcdIuZ%2Fimage.png?alt=media&#x26;token=56e739ad-d239-4621-b22c-e04cc7ed432e" alt=""><figcaption></figcaption></figure>

5. Insert HTML code into HTML block:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2Ff6R9S7lFJycGUiJtZJCb%2Fimage.png?alt=media&#x26;token=76cdd5a3-8c46-4a31-baef-da04ae92efcf" alt=""><figcaption></figcaption></figure>

6. Set `width` and `height` to 100%:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FxC72B0UurRjBePg0KC06%2Fimage.png?alt=media&#x26;token=ae2fd886-bd30-4ea3-ae1d-7bab512c108b" alt=""><figcaption></figcaption></figure>

7. Save the HTML and publish the page.

***

Something unclear in docs or you know how to improve article? [Message us in community!](https://docs.tgtaps.com/tgtaps-docs/readme/community)\
We will answer you and then promise to improve the article within 3 days.
