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.
9 lines (8 loc) • 313 B
TypeScript
import { Asset } from '../../assets.js';
export type CloudflareR2Metadata = {
bucket?: string;
endpoint?: string;
key?: string;
};
export declare function uploadLocalFile(asset: Asset): Promise<Asset | undefined>;
export declare function uploadRequestedFile(asset: Asset): Promise<Asset | undefined>;