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) 442 B
/** * YouTube Platform Integration * Handles YouTube IFrame API loading and player management */ import type { YouTubePlayer, YouTubeSetupOptions } from "../types"; /** * Loads the YouTube IFrame API */ export declare function loadYouTubeAPI(): Promise<boolean>; /** * Sets up YouTube player */ export declare function setupYouTubePlayback(container: HTMLElement, videoId: string, options?: YouTubeSetupOptions): YouTubePlayer | null;