UNPKG

spectatr-player-sdk

Version:

A custom video player built with Stencil with Shaka Player integration

31 lines (30 loc) 772 B
import { Suggestion } from '../../types/videoPlayer'; export declare class VideoWrapper { clientId: string; baseUrl?: string; videoId?: string; userId?: string; autoPlay?: boolean; showSuggestions?: boolean; captureReaction?: boolean; theme?: string; host: HTMLElement; _videoId: string; _nextVideoId: string; _clientId: string; _userId: string; _baseUrl: string; _autoPlay: boolean; _showSuggestions: boolean; _captureReaction: boolean; _theme: string; isIframe: boolean; suggestions: Suggestion[]; suggestionsHeight: number; componentWillLoad(): void; private setPlayerHeight; private setNextVideoId; private setVideoId; private setSuggestions; render(): any; }