Member Junction
    Preparing search index...

    A pointer to non-text content. Segmenters emit these for media segments instead of (or alongside) Text.

    Exactly one of URL, Base64Data, or (StorageProviderKey + ObjectKey) is expected to be populated; consumers resolve whichever is present.

    interface MediaReference {
        Base64Data?: string;
        MimeType?: string;
        ObjectKey?: string;
        StorageProviderKey?: string;
        URL?: string;
    }
    Index

    Properties

    Base64Data?: string

    Inline base64 payload (no data-URL prefix). Prefer URL/storage refs for large media.

    MimeType?: string

    IANA mime type, e.g. video/mp4. Used to gate provider capability checks.

    ObjectKey?: string

    Object/blob key within the storage provider.

    StorageProviderKey?: string

    @memberjunction/storage provider key, when the media lives in MJ file storage.

    URL?: string

    Directly fetchable URL (http(s) or data URL).