@custouch/jssdk
    Preparing search index...

    Type Alias VideoConfig

    视频信息

    type VideoConfig = {
        code: ReturnCode;
        config?: {
            accessType: VideoAccessType;
            cover: string;
            pageTitle?: string;
            previewTimestamp: string | null;
            shareInfo?: wx.ShareToUserConfig;
            size?: { videoHeight: string; videoWidth: string };
            watermark?: WmImgOptions;
        };
        downloadUrl: string;
        hashId: string;
        name: string;
    }
    Index

    Properties

    config?: {
        accessType: VideoAccessType;
        cover: string;
        pageTitle?: string;
        previewTimestamp: string | null;
        shareInfo?: wx.ShareToUserConfig;
        size?: { videoHeight: string; videoWidth: string };
        watermark?: WmImgOptions;
    }

    Type declaration

    • accessType: VideoAccessType
    • cover: string

      封面

      截帧的图片需要替换后面的oss参数

    • OptionalpageTitle?: string
    • previewTimestamp: string | null

      试看时间

    • OptionalshareInfo?: wx.ShareToUserConfig

      微信分享信息

    • Optionalsize?: { videoHeight: string; videoWidth: string }

      视频的原始比例

    • Optionalwatermark?: WmImgOptions
    downloadUrl: string

    源链接

    hashId: string
    name: string