> For the complete documentation index, see [llms.txt](https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/tips-and-tricks-for-mango-canvas/embedvideo.md).

# Video Immediate Viewing without New Window

## Adding video in a page

Adding YouTube clips to play directly on the page without pasting as a URL or link prevents users from opening a new window to view the clip. The steps are as follows:

### 1. Create a new page or edit an existing one where you want to add the video

<figure><img src="/files/vzLB8Tr48v05gFqXWBd0" alt=""><figcaption><p>Click +Page to open a new page</p></figcaption></figure>

<figure><img src="/files/fmRRXdlp3PDtcoGLJ6FQ" alt=""><figcaption><p>Click Edit in case of adding video to an existing page</p></figcaption></figure>

### 2. Select Youtube icon

<figure><img src="/files/l0BnKDdAtK9B8OMvueI3" alt=""><figcaption></figcaption></figure>

### 3. Search by the name of the clip or the URL of the desired clip

<figure><img src="/files/EZzzwDZ6nnchxzUG41rh" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
The video that can be searched in this way must have public access
{% endhint %}

### 4. Click Embed on the desired video

<figure><img src="/files/Gkrgv1awT0tcJLF4opr7" alt=""><figcaption></figcaption></figure>

### 5. The clip will be imported into the page and cab be viewed immediately.

<figure><img src="/files/NEAIuIjnK1RXNJ3ZU95T" alt=""><figcaption></figcaption></figure>

### 6. After finishing the page customization, click 'Save' or 'Save & Publish' at the bottom right corner&#x20;

<figure><img src="/files/86UguQezBDKGQOcXkw75" alt=""><figcaption></figcaption></figure>
