> For the complete documentation index, see [llms.txt](https://everyday-digital.gitbook.io/authoring-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://everyday-digital.gitbook.io/authoring-docs/content-pages/content-page-library/youtube-video.md).

# YouTube Video

## What is a YouTube Video page?

**A YouTube Video page allow you to add a video that will fill the whole page.**

## Quick steps: how to add a YouTube Video page

1. **Open Authoring.** Create or open a [Learning Story](/authoring-docs/authoring/content-types/learning-story.md), [Assessment](/authoring-docs/authoring/content-types/assessment.md) or [Survey](/authoring-docs/authoring/content-types/survey.md) [content type](/authoring-docs/authoring/content-types.md).
2. **Open the Editor.**
3. **Add a YouTube Video page.** Select the + icon and choose YouTube Video from the Add Page options.&#x20;
4. **Enter the YouTube video ID.** Simply copy everything that appears after <https://www.youtube.com/watch?v=>
5. **Adjust the available** [**settings**](#youtube-video-page-settings)**, as needed.**&#x20;
6. **Save.**

## **YouTube Video Page Settings**

**Finish Action.** Choose what should happen when the video ends.&#x20;

* **Next page (Default).** When the video ends the next page will open.
* **Stop.** When the video ends the next page will not open (the user must navigate to the next page).
* **Play again.** When the video ends the video will play again.

**Start Playback From.** Set the time in seconds to start the playback from.

**End Playback At.** Set the time in seconds to end the playback at.

### **Video display / orientation: Vertical Videos**

**Use YouTube shorts if you require vertical videos.** If you are using YouTube and require a vertical video, the video will need to be a YouTube short.

### YouTube Video Activity: Video not playing / video unavailable in Pathway

{% hint style="info" %}

#### **YouTube videos that don't play may have a restriction or setting applied. If a video is not working, always check the video setting on YouTube.** For consistent usage, ensure that the video in YouTube Studio:

1. is allowed to be embedded;
2. is not restricted to adults.
   {% endhint %}

### Video not playing in Low Power Mode (iOS only)

**If your device is set to Low Power Mode, videos may not autoplay and connections to online content may be slower.** Disable low power mode for an optimal experience.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://everyday-digital.gitbook.io/authoring-docs/content-pages/content-page-library/youtube-video.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
