# Videos Module

### 1. Adding a New Video

Videos are managed through a **Custom Post Type (CPT)**.

1. Go to **Dashboard → Videos → Add New**.
2. Add the **Title** and **Description** of your video.
3. Assign **Categories** and **Tags** to organize videos.
4. Enter the additional **Video Fields**:
   * **Video URL** – Add a YouTube, Vimeo, or self-hosted link.
   * **Duration** – Enter the length of the video (e.g., `5:30`).
5. Click **Publish** to save your video.

<figure><img src="https://1348100388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5PmCtqJGWfXR9cDabsKg%2Fuploads%2FOEnNWi31aiv3DMFkyUPA%2F20.png?alt=media&#x26;token=f402ef4f-3161-4800-8ac9-cd1cf4d8bc70" alt=""><figcaption></figcaption></figure>

***

### 2. Customizer Settings – Video Page

Go to **Customizer → Videos Module → Videos Page** to configure the video archive page.

* **Featured Section**\
  Toggle **Enable/Disable** for the Featured Video section.
* **Autoplay**\
  Enable or disable autoplay for the Featured Video.
* **Video Blocks**\
  Add multiple blocks to organize videos (e.g., Courses, Talk Shows, Technology).
  * Each block can be connected with categories/tags.
  * Limit: Up to **10 rows**.

<figure><img src="https://1348100388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5PmCtqJGWfXR9cDabsKg%2Fuploads%2FCCoX4o4iIUOiqCczLiuG%2F21.png?alt=media&#x26;token=a1df1af9-fc0c-4569-b75a-96f12a0f1939" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1348100388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5PmCtqJGWfXR9cDabsKg%2Fuploads%2FA1YECpmhPtsV4ja9Wt4N%2F22.png?alt=media&#x26;token=d10a2178-abe5-40a8-8e8d-8f8d763e0b22" alt=""><figcaption></figcaption></figure>

***

### 3. Customizer Settings – Single Video

Go to **Customizer → Videos Module → Single Video** to configure individual video pages.

* **Featured Section**\
  Enable/Disable the **Related Videos** section.
* **Section Heading**\
  Customize the heading text (e.g., `اس کیٹیگری سے مزید ویڈیوز`).
* **Videos Limit**\
  Select how many related videos to display (3, 6, or 9).

<figure><img src="https://1348100388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5PmCtqJGWfXR9cDabsKg%2Fuploads%2FBJKSaPx0eN569uGOemg0%2F23.png?alt=media&#x26;token=d18d5d67-9c70-43c7-9685-bbe0ded5d95a" alt=""><figcaption></figcaption></figure>

***

### 4. Summary

The **Video Module** is a powerful feature of UrduPress that helps you:

* Add and manage videos with categories/tags.
* Customize the **Video Archive Page** with featured blocks.
* Show **related videos** on the Single Video Page.

This ensures a complete and engaging video experience for your audience.
