@waveform-playlist/browser 9.3.3 → 9.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -802,6 +802,8 @@ export declare interface MediaElementPlaylistProps {
802
802
  * Called with the full updated annotations array.
803
803
  */
804
804
  onAnnotationUpdate?: OnAnnotationUpdateFn;
805
+ /** Custom playhead render function. Receives position, color, and animation refs for smooth 60fps animation. */
806
+ renderPlayhead?: RenderPlayheadFunction;
805
807
  className?: string;
806
808
  }
807
809
 
@@ -916,6 +918,8 @@ export declare interface MediaElementWaveformProps {
916
918
  scrollActivePosition?: ScrollLogicalPosition;
917
919
  /** Which scrollable containers to scroll: 'nearest' (only the annotation list) or 'all' (including viewport). Defaults to 'nearest'. */
918
920
  scrollActiveContainer?: 'nearest' | 'all';
921
+ /** Custom playhead render function. Receives position, color, and animation refs for smooth 60fps animation. */
922
+ renderPlayhead?: RenderPlayheadFunction;
919
923
  className?: string;
920
924
  }
921
925