Pineapple Builder

Video

Add a video with playback, aspect-ratio and control settings.

Code name: Video · Category: Media

Registered in the live renderer. Website context and the limitations below still apply.

When to use it

Use video for a short introduction, service demonstration or explanation that benefits from motion. Give visitors enough context without needing to press play.

In the editor

  1. Choose the video source.
  2. Set the aspect ratio and player controls.
  3. Test playback in preview and provide accessible context or a transcript where needed.

Example

This example uses illustrative content. Media placeholders must be replaced with your own assets; data-backed blocks need the normal website context.

<Video src="/defaults/video-default.mp4" playing={false} videoControls={true} aspectRatio="16:9" />

Behaviour and limitations

  • playing requests playback; browsers and video providers can restrict autoplay.
  • Use muted with autoplay where appropriate. videoControls controls the player controls, not the editor UI.
  • A video source and a thumbnail are different assets; do not substitute one for the other.

Property reference

Types below describe the editor controls and known choices, not every value accepted by the renderer. A renderer default is extracted from its parameter; an editor-only default does not prove the runtime default. “Not declared here” does not mean required. Preserve omitted values unless the requested edit needs them.

PropertyEditor value typeDefault evidenceGuidance
srcSee guidance"/defaults/video-default.mp4" (renderer)Video. See the usage notes for this block.
widthSee guidanceNot declared herewidth. See the usage notes for this block. Catalog only: verify before use.
playingbooleanfalse (renderer)Auto play. See the usage notes for this block.
loopbooleanfalse (renderer)Loop. See the usage notes for this block.
mutedbooleantrue (renderer)Muted. See the usage notes for this block.
videoControlsbooleantrue (renderer)Display video controls. See the usage notes for this block.
aspectRatio"original", "16:9", "4:3", "1:1", "9:16""16:9" (renderer)Aspect ratio. See the usage notes for this block.
altstring"" (renderer)Video description. See the usage notes for this block.
backgroundColorstringNot declared hereBackground colour. Theme-derived appearance can still depend on the surrounding section.
align"left", "center", "right""" (renderer)Align. See the usage notes for this block.
borderRadiusnumber0 (renderer)Border Radius. See the usage notes for this block.
spacingobjectNot declared hereAn object of spacing settings. Preserve existing responsive values when changing a single setting.
animationType"none", "fade-up", "fade-down", "fade-left", "fade-right", "flip-up", "flip-down", "flip-left", "flip-right", "zoom-in", "zoom-left", "zoom-right""zoom-in" (renderer)Entrance animation setting. Use a supported editor value; preserve it for unrelated edits.
screenListstring"" (renderer)Comma-separated device names to hide on: mobile, tablet, desktop. An empty string hides on none.
cssstringNot declared hereCustom CSS text. Preserve unrelated rules and prefer the dedicated property for supported edits.
Pineapple Builder - AI Website Builder Create Docs