Skip to main content

Media

Audio/video player. Supports online URLs and blob URLs.

Signature

Attributes

Runtime behavior

  • Audio renders <audio>, Video renders <video>.
  • Static https sources may come from any HTTPS host.
  • Dynamic Source / Poster must match Widget.ImageHosts; blob URLs play directly.
  • Volume is read only on load; two-way binding is not supported.
  • AutoPlay may be blocked by browser policy and needs user interaction.
  • Object URLs are released when the component unmounts.

Example

Gotchas

  • Online audio/video needs server support for CORS or range requests; otherwise the player reports an error.
  • Dynamic media that does not match ImageHosts does not play; media servers can still see the request IP.
  • No playlists, progress events, or script control interfaces; complex players have to wait for a later release.