Shopee SDK API Reference - v1.11.0
    Preparing search index...

    Interface InitMediaVideoUploadParams

    Parameters for v2.media.init_video_upload

    interface InitMediaVideoUploadParams {
        business: number;
        duration: number;
        file_name: string;
        file_size: number;
        scene: number;
    }
    Index

    Properties

    business: number

    Defines the business type of the uploaded image. Supported values: 3 = Video

    duration: number

    Video duration in seconds. 1s~180s.

    file_name: string

    Original video file name

    file_size: number

    Total video file size in bytes. Maximum 1GB.

    scene: number

    Defines the purpose of the uploaded image under the specified business type. Supported values: If business = 3 (Video): 1 = Shopee Video