> For the complete documentation index, see [llms.txt](https://docs.liveblog.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.liveblog.pro/readme/writing-posts/video-posts.md). Agents can also search and read this documentation through its [MCP server](https://docs.liveblog.pro/~gitbook/mcp).

# Video posts

The **Video** block uploads a video file from your computer to your organisation's YouTube account and puts the YouTube player in the post. This page shows how the block works, the one-time setup it needs, and what to watch out for.

The **Video** block is marked **beta** in the editor. To show a video that is already on YouTube or another site, you do not need it: paste the link in an **Embed** block instead. See [Images, embeds and quotes](https://docs.liveblog.pro/readme/writing-posts/images-embeds-and-quotes.md).

## Before you start: the YouTube connection

Live Blog uploads videos with the credentials of a YouTube account that belongs to your organisation. Until someone has connected that account, the **Video** block cannot upload anything.

The first time anyone adds a **Video** block on an instance without a connected account, Live Blog opens the **Upload your Youtube's credentials - Beta** dialog.

<figure><img src="https://3069567940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiE9YRT74G1RgbPMObBM4%2Fuploads%2Fgit-blob-cc9adb5377d8f23a4070b67def04275ffbe0c30b%2Fcredentials-dialog.png?alt=media" alt="The Upload your Youtube&#x27;s credentials - Beta dialog with a link to a guide, a Choose File button, a note about the Authorized Redirect URI and the Cancel and Upload buttons" width="624"><figcaption><p>The dialog that asks for YouTube credentials</p></figcaption></figure>

Connecting the account is a job for whoever manages your organisation's Google account, not for a writer on deadline. It also needs the right to change the Liveblog Settings, which administrators and Super Editors have; for anyone else the upload is refused.

1. Create a credentials file for a Google project of type web application. The link **this guide** in the dialog explains how.
2. Set the **Authorized Redirect URI** of the Google project to the address shown in the dialog under **Important Note:**.
3. Back in Live Blog, click **Choose File**, pick the credentials file (a `.json` file) and click **Upload**.
4. Live Blog sends you to Google to approve the connection, then brings you back to the editor.

The connection is stored for your whole organisation, so this happens once, not once per person.

{% hint style="warning" %}
If you are not the person who manages the YouTube account, click **Cancel**. Cancel empties the editor completely, so save anything you had written first with **Save draft**.
{% endhint %}

## Add a video to a post

{% stepper %}
{% step %}

### Add a Video block

In the editor, click **ADD CONTENT HERE** and choose **Video**.
{% endstep %}

{% step %}

### Choose the video

Drag a video file onto **Drag Video here**, or click **Select from folder** and pick the file.
{% endstep %}

{% step %}

### Wait for the upload

The block shows "Please wait until the upload completes. Do not close or reload your browser.", a progress bar and the time left. When it is done, it says "Video uploaded successfully" and shows the YouTube player.
{% endstep %}

{% step %}

### Add the details and publish

Fill in the title, description and author of the video, then click **Publish**.
{% endstep %}
{% endstepper %}

<figure><img src="https://3069567940-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiE9YRT74G1RgbPMObBM4%2Fuploads%2Fgit-blob-0b716b2f218a6b549a1b8ceaa96b16d11e7db1bc%2Fblock-menu.png?alt=media" alt="The block menu of the editor with Text, Image, Embed, Quote, Poll and Video, the last two marked beta, with Video outlined" width="706"><figcaption><p>The block menu with Video</p></figcaption></figure>

Keep the browser tab open until the upload has finished. If the upload fails, the browser shows an alert that ends with "The direct video upload requires a connection to Youtube".

## On YouTube

* The video is uploaded to your organisation's YouTube account with a generated name that starts with `liveblog-`, not with the title you type in the block.
* Its privacy (public, unlisted or private) comes from the **Youtube Privacy Status** setting. The default is unlisted. See [General settings](https://docs.liveblog.pro/readme/administration/general-settings.md#youtube-privacy-status).
* Deleting the post does not delete the video from YouTube. The delete confirmation reminds you: "This will NOT remove the video from YouTube's account." Remove it on YouTube yourself if needed.

## Update the credentials

The **Update Credentials** button in the block opens the same dialog, to connect a different YouTube account or to renew the connection. It replaces the connection for your whole organisation, so leave it to the person who manages the YouTube account.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.liveblog.pro/readme/writing-posts/video-posts.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
