--- title: "YouTube Video Player" slug: "youtube-video-player-mobile-module" tags: ["Forge"] status: "update" updated: 2026-11-16T17:34:36Z published: 2026-11-16T17:34:36Z canonical: "documentation.deltatre.com/youtube-video-player-mobile-module" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.deltatre.com/llms.txt > Use this file to discover all available pages before exploring further. # YouTube Video Player ## Editorial purpose Displays a 16:9 embedded YouTube player for a YouTube video entity. It shows the thumbnail and plays when tapped, or starts automatically when autoplay is enabled. ## Required FORGE custom entity This module requires the YouTube Videos custom entity. ## Parameters ### Data | Label | Type | Description | | --- | --- | --- | | Video Slug | Text | Slug of the YouTube video entity to play. In the content picker, search by `slug` and select `youtubevideo` content. Set `videoSlug` to a youtubevideo entity; the module is not shown when the entity cannot be loaded. The entity's `videoId` field holds the YouTube video ID; when it is empty, an error message is shown instead of the player. | ### Visual | Label | Type | Description | | --- | --- | --- | | Color Schema | Selection | Select the module's color scheme. Options: `light` (Light); `dark` (Dark). `colorSchema` forces a light or dark scheme on the module. | | Remove top spacing | Toggle | Remove the spacing above the module. | | Remove bottom spacing | Toggle | Remove the spacing below the module. | | Hide module | Toggle | Hide the module. | | Autoplay | Toggle | Autoplay video on load. `autoplay` starts playback as soon as the module appears; playback stops when the player leaves the screen. |