UNPKG

nuxt-lazytube

Version:
17 lines (16 loc) 1.03 kB
/** Helper method to dynamically create iframe */ export function createIframe(videoID: any, urlCompare: any, getTitle: any, iframeClass: any, iframePolicy: any, type?: string, flag?: boolean): HTMLIFrameElement | null; /** Helper method to check if postMessage features is available */ export function isPostMessageSupported(): boolean; /** Helper method to calculate aspect */ export function calcAspect(aspect: any): number; /** Helper method to fetch oembed data */ export function fetchingOembed(src: any, type?: string): Promise<Response>; /** Helper method to get youtube video ID from url */ export function getYouTubeID(url: any): any; /** Helper method to get Thumbnail for youtube video */ export function getYoutubeThumbnail(video_id: any, quality: any): string | false; /** Helper method to get vimeo video ID from url */ export function getVimeoID(url: any): string | undefined; /** Helper method to get Thumbnail for vimeo video */ export function getVimeoThumbnail(video_id: any, quality: any): string | false;