Component Catalog

Video

Native HTML5 video player with controls.

A2UI → Nuxt UI Mapping

A2UI PropertyHTML Result
url<video> src attribute
autoplayAuto-play attribute
loopLoop attribute

Example JSONL

{"version":"v0.10","createSurface":{"surfaceId":"video_demo","catalogId":"standard"}}
{"version":"v0.10","updateComponents":{"surfaceId":"video_demo","components":[
  {"id":"root","component":"Column","children":["player"]},
  {"id":"player","component":"Video","url":"https://www.w3schools.com/html/mov_bbb.mp4"}
]}}

Properties

PropertyTypeRequiredDefaultDescription
urlstringVideo source URL
autoplaybooleanfalseAuto-play on load
loopbooleanfalseLoop playback

Rendering Details

  • Uses native <video> element with controls enabled
  • Responsive width (w-full)
  • Rounded corners for visual consistency

Try It

Copy the JSONL above and paste it in the Playground Paste tab.