• Creates a valid VideoMetadata for a short.

    Parameters

    • input: ShortVideoOptions

      Use your IDE suggestions for an enhanced development experience

    Returns VideoMetadata

    Example

    const metadata = video({
    title: 'Great video!',
    video: {
    item: 'https://example.com/video.mp4',
    type: MediaVideoMimeType.MP4,
    cover: 'https://example.com/thumbnail.png',
    duration: 123,
    altTag: 'The video of my life',
    license: MetadataLicenseType.CCO,
    }
    });