# chooseAlbumVideo H5 选取视频方法
# Attributes
属性 | 类型 | 必要 | 默认值 | 说明 |
---|---|---|---|---|
limitCount | Number | Y | - | 可以上传的数量 |
videoDuration | String | number | Y | - |
limitSize | String | number | Y | - |
isNeedBase64 | Boolean | Y | - | 是否需要返回base64格式 |
# 调用示例
window.bridge.chooseAlbumVideo({
params: {
limitCount: 1,
videoDuration: '120',
limitSize: '2048000',
isNeedBase64: true
}
}, res => {
console.log(res)
}, error => {
console.log(error)
});
# 接口返回示例