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.
10 lines (9 loc) • 386 B
TypeScript
import { Asset } from '../../assets.js';
export type MuxMetadata = {
uploadId?: string;
assetId?: string;
playbackId?: 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>;