Skip to content

Default video module

Meant to be an eventual replacement for the default @hubspot/video module, which renders an iframe of the video-player-ui static app.

Supported Features:

  • ✅ Advanced playback options (autoplay, loop etc)
  • ✅ Customize play button color
  • HLS streaming
  • Subtitles
  • [WIP] Play tracking & attribution
  • [ ] Form & CTA overlays
  • [ ] Rich text support (depends on JSR platform support)

External embed

The default video module supports external embeds via an oEmbed URL or arbitrary HTML

Supported Features: Depends on the provider, but none are customizable within the editor.

Simple HTML5 player

This module renders a simple <video> tag without iframes or external scripts involved. This might make sense to introduce as a net-new module for short videos, video backgrounds, or other cases where the iframe player is overkill.

Supported Features:

  • ✅ Advanced playback options (autoplay, loop etc)
  • ✅ Customize play button color
  • HLS streaming (requires hls.js, out of scope)
  • [ ] Subtitles
  • [ ] Play tracking & attribution
  • [ ] Form & CTA overlays
  • [ ] Rich text support (depends on JSR platform support)