Obtain the Alibaba Cloud on-demand service upload certificate
SDK
apifm
Development reference
```javascript
WXAPI.vodBaseAuthAndAddress({
token: '000'
})
```
+ token user login credentials
+ fileName Uploaded video file name, video source file name (must have suffix, supports ".3gp", ".asf", ".avi", ".dat", ".dv", ".flv", ".f4v", ".gif", ".m2t", ".m3u8", ".m4v", ".mj2", ".mjpeg", ".mkv", ".mov", ".mp4", ".mpe", ".mpg", ".mpeg", ".mts", ".ogg", ".qt", ".rm", ".rmvb", ".swf", ".ts", ".vob", ".wmv", ".webm"".aac", ".ac3", ".acm", ".amr", ".ape", ".caf", ".flac", ".m4a", ".mp3", ".ra", ".wav", ".wma")
+ workflowId workflow ID
```json
{
code: 0,
msg: 'success',
data: {
requestId: '',
uploadAddress: '',
videoId: '',
uploadAuth: '',
}
}
```
+ videoId audio/video ID
+ uploadAddress upload address
+ uploadAuth upload credentials
After obtaining the upload credentials, use Alibaba Cloud's client SDK to upload the video. Reference file:
["Using WeChat Mini ProgramSDK upload files》](https://help.aliyun.com/zh/vod/developer-reference/upload-sdk-for-wechat-mini-programs? spm=a2c4g.11186623.help-menu-29932.d_4_3_1_5.3c5b45c5CQpoYm&scm=20140722.H_158671._.OR_help-T_cn~zh-V_1)
["Upload files using JavaScript SDK"](https://help.aliyun.com/zh/vod/developer-reference/upload-sdk-for-javascript?spm=a2c4g.11186623.help-menu-29932.d_4_3_1_1.77df3c3efEazmI)
For native calls on android, ios, and Hongmeng, please click the link above to see the specific SDK integration method in the menu on the left.