chooseAlbumVideo 选择视频
chooseAlbumVideo ^6.8
选择视频
#请求参数
N/A
#接口调用示例
this.$bridge
.chooseAlbumVideo()
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
#返回参数
- 成功时返回
| Prop | Type | Value |
|---|---|---|
tempFilePaths |
Array |
- |
code |
Number |
0 |
- 失败时返回
| Prop | Type | Value | Comment |
|---|---|---|---|
code |
Number |
-11 |
用户取消操作 |
msg |
String |
#返回示例
{
"tempFilePaths": [
"localVideos/VID_20200724_164028.mp4",
"localVideos/VID_20200724_164028.mp4"
]
}
#FAQ
ios端一次只能选择一个视频
{
"tempFilePaths": "localVideos/IMG_0003.MOV",
"code":0
}
浙公网安备 33010602011771号