UNPKG

next-video

Version:

A React component for adding video to your Next.js application. It extends both the video element and your Next app with features for automatic video optimization.

14 lines (13 loc) 506 B
import { Asset } from '../../assets.js'; export type MuxMetadata = { uploadId?: string; assetId?: string; playbackId?: string; }; export declare function validateNewAssetSettings(newAssetSettings: any): { valid: boolean; errors: string[]; }; export declare function uploadLocalFile(asset: Asset): Promise<Asset | undefined>; export declare function uploadRequestedFile(asset: Asset): Promise<Asset | undefined>; export declare function createThumbHash(imgUrl: string): Promise<string>;