UNPKG

@werk1/w1-system-videoblock

Version:

Universal video player supporting YouTube, Vimeo, HLS, DASH with coordination and GSAP integration for W1 System

11 lines (10 loc) 409 B
import React from "react"; import type { W1VideoPlayerState } from "../../../types"; interface UseSyncStateProps { videoRef: React.RefObject<HTMLVideoElement | null>; isClient: boolean; state: W1VideoPlayerState; updateState: (updates: Partial<W1VideoPlayerState>) => void; } export declare const useSyncState: ({ videoRef, isClient, state, updateState }: UseSyncStateProps) => {}; export {};