spz-youtube

When to Use

When you need to play YouTube videos.

Code Demonstration

Basic Usage

The most basic usage.

<spz-youtube videoid="Wv6Up5YSi5s" layout="responsive" width="1444" height="504"></spz-youtube>

Properties

Property NameDescriptionTypeDefault ValueRequired
videoidYouTube video IDstring-Yes
autoplayIf this attribute exists, the YouTube video plays automatically--No

AI Summary (LLM Ready)

  • Component ID: spz-youtube
  • One-line purpose: YouTube video player.
  • Detected attribute rows: 0
  • Detected method subsections: 0
  • Detected event subsections: 0
  • Top attribute names: none (needs manual completion)
  • Top method names: none (needs manual completion)
  • Top event names: none (needs manual completion)
  • Reading order: start from usage/examples, then verify attributes, methods, and events.
  • Related docs: /en/guide/actions-and-events/ , /en/guide/layouts/