用VIdeosAPi调试了一天,调试代码如下:
export interface ApifoxModel {
/**
* 设备ID
*/
appId: string;
/**
* 视频号描述
*/
description: string;
/**
* 视频高度
*/
height?: number;
/**
* 自己的roletype
*/
myRoleType: number;
/**
* 自己的username
*/
myUserName: string;
/**
* 视频播放时长,单位秒
*/
playLen?: number;
/**
* 封面链接地址
*/
thumbUrl: string;
/**
* 视频号话题
*/
topic?: string[];
/**
* 视频链接地址
*/
videoUrl: string;
/**
* 视频宽度
*/
width?: number;
[property: string]: any;
}
{
"appId": "{{appid}}",
"videoUrl": "https://scrm-1308498490.cos.ap-shanghai.myqcloud.com/pkg/436fa030-18a45a6e917.mp4",
"playLen": 48,
"height": 13,
"width": 76,
"thumbUrl": "http://dummyimage.com/400x400",
"myRoleType": 3,
"topic": [
"#hh",
"#哈哈"
],
"myUserName": "v2_060000231003b20faec8c7e28811c4d5cc0ded37b0779c48c759a7446a87688c2774e5300c32@finder",
"description": "hhh"
}