@factorialco/f0-react 4.66.1 → 4.67.0

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/f0.d.ts CHANGED
@@ -12069,9 +12069,11 @@ export declare const F0VideoPlayer: WithDataTestIdReturnType_3<typeof F0VideoPla
12069
12069
  * useRestrictForwardSeek → blocks seeking past the furthest-watched point.
12070
12070
  * <Controls> → presentation only; interactions delegated back here.
12071
12071
  */
12072
- declare function F0VideoPlayerInternal({ src, poster, silent, persistControls, content, defaultLanguage, autoPlay, autoFocus, restrictForwardSeek, onTrackAction, onMilestone, onComplete, ...dataAttributes }: F0VideoPlayerProps): JSX_2.Element;
12072
+ declare function F0VideoPlayerInternal({ src, poster, ariaLabel, silent, persistControls, content, defaultLanguage, autoPlay, autoFocus, download, restrictForwardSeek, onTrackAction, onMilestone, onComplete, ...dataAttributes }: F0VideoPlayerProps): JSX_2.Element;
12073
12073
 
12074
12074
  export declare interface F0VideoPlayerProps extends DataAttributes_2 {
12075
+ /** Accessible name for this player region. Defaults to "Video player". */
12076
+ ariaLabel?: string;
12075
12077
  /**
12076
12078
  * Video source URL. Localizable — pass a per-locale list of dubbed renditions
12077
12079
  * to offer selectable audio languages; an "Audio" selector then appears,
@@ -12121,6 +12123,15 @@ export declare interface F0VideoPlayerProps extends DataAttributes_2 {
12121
12123
  autoPlay?: boolean;
12122
12124
  /** Focus the player on mount so keyboard shortcuts work immediately. Default `false`. */
12123
12125
  autoFocus?: boolean;
12126
+ /**
12127
+ * Optional download action rendered inside the player controls. Native media
12128
+ * downloads remain disabled, so embedded surfaces that allow saving the
12129
+ * source can expose an explicit, keyboard-accessible action here.
12130
+ */
12131
+ download?: {
12132
+ label: string;
12133
+ onClick: () => void;
12134
+ };
12124
12135
  /**
12125
12136
  * Prevent seeking past the furthest point already watched. Renders a marker at
12126
12137
  * that position and blocks the cursor beyond it. Default `false`.