UNPKG

@werk1/w1-system-videoblock

Version:

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

14 lines (13 loc) 593 B
import React from "react"; import type { W1VideoPlayerState } from "../../../types"; interface UseFullscreenAndPiPProps { videoRef: React.RefObject<HTMLVideoElement | null>; _wrapperRef: React.RefObject<HTMLDivElement | null>; isClient: boolean; updateState: (updates: Partial<W1VideoPlayerState>) => void; onPictureInPictureChange?: (isPiP: boolean) => void; } export declare const useFullscreenAndPiP: ({ videoRef, _wrapperRef, isClient, updateState, onPictureInPictureChange }: UseFullscreenAndPiPProps) => { isFullscreenRef: React.RefObject<boolean>; }; export {};