随笔 - 2649  文章 - 2452  评论 - 0  阅读 - 74060

文章分类 -  MeiOS / Media媒体

1 2 下一页
saveMediaToAlbum 保存视频和图片到指定的相册目录下
摘要:saveMediaToAlbum ^8.11 保存视频和图片到指定的相册目录下。默认保存到相册根目录下 #请求参数 Prop Type Required Default Comment filePath String Y N/A 文件路径(本地路径) mediaType String Y N/A 文 阅读全文
posted @ 2024-12-17 09:29 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
recordVideo 录制视频
摘要:recordVideo ^4.4.0 #请求参数 Prop Type Required Default Description param Object Y {} 属性: limitCount:{ Type: Number, Default: 1 Description: 视频数量 } limitS 阅读全文
posted @ 2024-12-17 09:29 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
pause 暂停录音播放
摘要:pause ^7.8 暂停录音播放 #请求参数 N/A #接口调用示例 this.$bridge .pause() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #接口返回示例 N/A #FAQ tip 阅读全文
posted @ 2024-12-17 09:29 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
stop 停止录音播放
摘要:stop ^7.8 停止录音播放 #请求参数 N/A #接口调用示例 this.$bridge.stop() #接口返回示例 N/A #FAQ TIP 回调需要先注册setCallback函数,然后通过setCallback返回 阅读全文
posted @ 2024-12-17 09:29 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
play 播放录音
摘要:play ^7.8 播放录音 #请求参数 Prop Type Default Comment params String N/A url音频路径 如:/test_jack_record.wav #接口调用示例 const params = "/test_jack_record.wav" this.$ 阅读全文
posted @ 2024-12-17 09:29 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
getDuration 获取视频时长
摘要:getDuration ^7.8 获取视频时长 #请求参数 Prop Type Default Comment params String N/A url音频路径 如:/test_jack_record.wav #接口调用示例 const params = '/test_jack_record.wa 阅读全文
posted @ 2024-12-17 09:29 AtlasLapetos 阅读(40) 评论(0) 推荐(0) 编辑
setCallback 获取视频播放回调
摘要:setCallback ^7.8 获取视频播放回调 #请求参数 N/A #接口调用示例 this.$bridge .setCallback(res => { console.log(res) }, err => { console.log(err) }) #接口返回示例 N/A #FAQ TIP 需 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
loop 循环播放
摘要:loop ^7.8 循环播放 #请求参数 Prop Type Default Comment params Boolean N/A true/false //是否循环 #接口调用示例 const params = true //"true/false //是否循环" this.$bridge .lo 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
seek 快进
摘要:seek ^7.8 快进 #请求参数 Prop Type Default Comment params String N/A float//跳转进度,单位毫秒 #接口调用示例 const params = 6000, //float//跳转进度,单位毫秒 this.$bridge .seek(par 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
chooseAlbumVideo 选择视频
摘要:chooseAlbumVideo ^6.8 选择视频 #请求参数 N/A #接口调用示例 this.$bridge .chooseAlbumVideo() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) # 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
convertImageToBase64 ss转换在线图片成 base64
摘要:convertImageToBase64 ^6.3 ss转换在线图片成 base64 数据返回(H5自行转换有跨域问题) #请求参数 Prop Type Required Default Description param Object Y {} 属性: url: 请求参数 #接口调用示例 this 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
startRecordAudio 开启麦克风录音
摘要:startRecordAudio ^4.4.0 开启麦克风录音,可以保存录音文件或者把声音转换成文字 #请求参数 Prop Type Required Default Description param Object Y {} 属性: max:{ Type: Number, Default: 10, 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(10) 评论(0) 推荐(0) 编辑
chooseMulPhoto 选择多张相册照片
摘要:chooseMulPhoto ^5.0.0 选择多张相册照片,并返回相片数据,不支持base64的转换 #请求参数 Prop Type Required Default Description param Object Y {} 属性: max:{ Type: Number, Default: 9, 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
choosePhoto 选择相册照片
摘要:choosePhoto 选择相册照片,并返回相片数据 #接口调用示例 this.$bridge .choosePhoto(params) .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #请求参数 Prop 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
takePhoto 拍照功能,并返回相片数据
摘要:takePhoto ^4.4.0 拍照功能,并返回相片数据 #请求参数 Prop Type Requierd Default Comment compressRage Number N 100 返回照片的压缩率,范围为0~100(只是针对jpg格式的图片,png格式没有压缩率),数值越高保真率越高 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
shareMsg
摘要:shareMsg 分享功能,直接触发分享(微信,QQ,微博等) 参数描述: Prop Type Required Default Description param Object Y {} 属性: type:{ Type: String, Default: N/A, Description: wx 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
getVideoDetails 获取视频原始数据
摘要:getVideoDetails ^6.8 获取视频原始数据 #请求参数 Prop Type Comment src String 视频文件路径(相对路径) #参数代码示例 let params = { src: 'localImages/IMG_003.MOV' } #接口调用示例 let para 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(7) 评论(0) 推荐(0) 编辑
saveVideoToPhotosAlbum 保存视频到相册
摘要:saveVideoToPhotosAlbum ^6.8 保存视频到相册 #请求参数 Prop Type Comment src String 视频文件路径(相对路径) #参数代码示例 let params = { src: 'localVideos/test.mp4' } #接口调用示例 let p 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
saveImageToPhotosAlbum 保存图片到相册
摘要:saveImageToPhotosAlbum ^6.8 保存图片到相册 #请求参数 Prop Type Comment src String 图片文件路径(相对路径) base64 String 图片文件base64(不含前缀) #参数代码示例 let params = { src: 'localI 阅读全文
posted @ 2024-12-17 09:28 AtlasLapetos 阅读(6) 评论(0) 推荐(0) 编辑
getImageMetaData 获取图片原始数据
摘要:getImageMetaData ^6.8 获取图片原始数据 #请求参数 Prop Type Comment src String 图片文件路径(相对路径) #参数代码示例 let params = { src: 'localImages/weex_1598499691_0.jpg' } #接口调用 阅读全文
posted @ 2024-12-17 09:27 AtlasLapetos 阅读(7) 评论(0) 推荐(0) 编辑

1 2 下一页
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示