ef-thumbnail-strip

Frame thumbnail visualization for a video or timegroup.

Renders a strip of video frame thumbnails at a given pixels-per-ms density. Valid targets are ef-video elements or root ef-timegroup elements.

AttributeReact propTypeDefaultDescription
durationdurationnumberTrimmed clip duration in seconds, used to lay out thumbnail slots.
heightheightnumberHeight of the strip in pixels (defaults to the element's rendered height, or 32).
pixels-per-secondpixelsPerSecondnumber100Zoom level — pixels rendered per second of composition time.
scroll-leftscrollLeftInClipnumberClip-local scroll offset of the timeline viewport's left edge.
sourceinsourceinstringStart time within the source video (CSS time, e.g. `"1.5s"`), mirrored from the source `<ef-video>`.
sourceoutsourceoutstringEnd time within the source video (CSS time), mirrored from the source `<ef-video>`.
srcsrcstring""URL of the source video file to generate thumbnails from.
thumbnail-spacing-pxthumbnailSpacingPxnumberMinimum spacing between thumbnails in pixels (defaults to {@link thumbnailWidth}).
thumbnail-widththumbnailWidthnumberWidth of each thumbnail in pixels (defaults to a value derived from {@link height}).
trimendtrimendstringTrims this much off the end of the clip (CSS time), mirrored from the source `<ef-video>`.
trimstarttrimstartstringTrims this much off the start of the clip (CSS time), mirrored from the source `<ef-video>`.
variantsvariantsstring""Adaptive variant ladder URL, mirrored from the source `<ef-video>`.
viewport-widthviewportWidthnumberVisible viewport width in pixels, used to virtualize thumbnail generation.
<ef-thumbnail-strip
  target="my-video"
  thumbnail-height="56"
  use-intrinsic-duration
  style="display: block; width: 100%; height: 56px;"
></ef-thumbnail-strip>

CSS Parts

PartDescription
canvasThe filmstrip-rendering canvas.