Skip to content

YouTube Widget

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/widget-youtube
Package slugwidget-youtube
Product groupCapell Foundation
Tierfree
Bundlefoundation
Runtime contextsadmin, frontend
Capell version^1.0
Catalogue roleextension
Release channelBeta
Source repositorycapell-app/packages
Source pathpackages/widget-youtube
Docs sourcepackages/widget-youtube/docs
Manifestcapell.json

YouTube Widget is an Available, No schema impact Capell package in the Capell Foundation product group. It ships as capell-app/widget-youtube and extends these surfaces: admin, frontend.

YouTube adds a Layout Builder widget with a local poster and a youtube-nocookie.com player that is requested only after visitor activation. Privacy Center decisions can keep the external player blocked.

Editors configure the video and poster in Layout Builder, while visitors first see local public output and choose whether to load the external player.

Status details:

  • Status: Available
  • Tier: free
  • Bundle: foundation
  • Composer package: capell-app/widget-youtube
  • Namespace: Capell\WidgetYouTube
  • Theme key: not applicable

For developers: The extension registers its interaction assets while tests verify that initial HTML contains no YouTube request target and that denied privacy state remains blocked.

For teams: Teams can offer embedded video without making an external YouTube request part of the initial page response.

Screenshot contract: docs/screenshots.json.

Youtube public output Youtube public output

YouTube fields in Layout Builder

  • YouTube Widget extension card (marketplace, supplementary documentation fixture).
  • YouTube fields in Layout Builder (admin, supplementary evidence).
  • Youtube public output (frontend, required evidence).
  • YouTube fields in Layout Builder with admin sidebar menu open (admin, supplementary evidence).
  • Capell\WidgetYouTube\Providers\WidgetYouTubeServiceProvider
  • YouTubeVideoIdField
  • YouTubeWidget
  • YouTubeInputData
  • YouTubeRenderData
  • asset: Capell\WidgetYouTube\WidgetYouTubeContribution
  • content-widget: Capell\WidgetYouTube\WidgetYouTubeContribution
  • Capell\WidgetYouTube\Health\WidgetYouTubeHealthCheck
  • packages/widget-youtube/resources/views/widget.blade.php
  • widget-youtube

This package has no schema impact. It extends Capell through asset contributions and content-widget contributions instead of declaring package-owned tables.

  • Required packages: capell-app/admin, capell-app/core, capell-app/frontend, capell-app/layout-builder.
  • Admin navigation: no admin page or resource contribution is declared.
  • Admin/editor extensions: content-widget: WidgetYouTubeContribution.
  • Permissions: no package permission declarations or Shield gates detected; host access rules still apply.
  • Public routes: none declared.
  • Database changes: no package migrations declared.
  • Config: no package config files.
  • Settings: no package settings declared.
  • Queues or schedules: none declared.
  • Cache tags: widget-youtube.
  • Commands: none declared.
  • Keep required Capell packages on compatible v4 releases: capell-app/admin, capell-app/core, capell-app/frontend, capell-app/layout-builder.
  • Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
  • Custom write integrations must preserve invalidation for widget-youtube cache tags.
SymptomLikely causeCheckFix
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Public output leaks unexpected stateRender data, cache variation, or authoring boundary has regressedCheck public Blade, cache tags, and public-output safety testsMove data loading out of Blade and rerun the package public-output tests
  1. Install the package: composer require capell-app/widget-youtube.
  2. Open a host admin workflow that uses the package extension and verify YouTube Widget is available.