UNPKG

@loomhq/loom-embed

Version:

SDK for easily embedding videos

24 lines 670 B
interface Option { width?: number; height?: number; gifThumbnail?: boolean; hideOwner?: boolean; } interface OEmbedInterface { type: 'video'; html: string; title: string; height: number | null; width: number | null; provider_name: 'Loom'; provider_url: string; thumbnail_height: number; thumbnail_width: number; thumbnail_url: string; duration: number; } declare const oembed: (linkUrl: string, options?: Option) => Promise<OEmbedInterface>; declare const gifEmbed: (linkUrl: string) => Promise<string>; export { oembed, gifEmbed }; export type { OEmbedInterface, Option }; //# sourceMappingURL=oembed.d.ts.map