# Custom YouTube Field

The Custom YouTube Field feature in FileBird Document Library allows you to attach a YouTube video directly to a folder or individual file. This makes it easy to provide video tutorials, walkthroughs, or explanations alongside your PDF documents.

When visitors open a folder that contains PDFs, they will see a clickable YouTube link or button displayed in a dedicated column. With one click, the video opens on YouTube, giving customers instant access to your tutorial content.

This feature is ideal for creators who sell digital PDFs with accompanying video guidance. Let’s explore it!

#### **Step 1: Enable Custom Fields for YouTube Link in FileBird Settings**

Then, move to the Settings tab in FileBird Document Gallery > enable Custom Fields > we will see a list of fields to add values to for each attachment.

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

After enabling this option, you’ll see a list of available custom fields that can be added to media files. WordPress users can add unlimited custom fields for YouTube Link.

#### **Step 2: Add the YouTube Link to a PDF File**

On your WordPress media, navigate to the folder containing your PDF, and find the Custom YouTube Field and paste your YouTube video URL.

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

#### **Step 3: Choose Which Fields to Display in the Library**

Head over to your Document Library to enable the fields you want to display. Save it and see how it works.

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

This ensures the YouTube link appears in a dedicated column within your document library.

#### **Step 4: Preview the Result**

Thus, in your library, the YouTube link opens in YouTube when clicked, and each file and folder can have its own unique video link.&#x20;

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

The Custom YouTube Field in the FileBird Document Library bridges the gap between documents and video tutorials. By attaching a YouTube link directly to your folders or PDFs, you create a smoother learning experience and add more value to your digital products.

Your customers get the PDF and the video - right where they expect it.


---

# 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://docs.ninjateam.org/addons/filebird-document-library/custom-youtube-field.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.
