mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
11 lines
650 B
TypeScript
11 lines
650 B
TypeScript
import { VideoInfo } from '../../types';
|
|
export declare type PlayerParams = Record<string, string | number | boolean> | boolean;
|
|
export declare type YouTubeParams = {
|
|
[x: string]: string | number | boolean;
|
|
};
|
|
export declare const param: (obj: YouTubeParams) => string;
|
|
export declare const paramsToObject: (url: string) => YouTubeParams;
|
|
export declare const getYouTubeParams: (videoInfo: VideoInfo, youTubePlayerParamsSettings: YouTubeParams | false) => string;
|
|
export declare const isYouTubeNoCookie: (url: string) => boolean;
|
|
export declare const getVimeoURLParams: (defaultParams: PlayerParams, videoInfo?: VideoInfo | undefined) => string;
|