VideoContext.reconnectCasting
摘要:VideoContext.reconnectCasting() 基础库 2.32.0 开始支持,低版本需做兼容处理。 小程序插件:支持 相关文档: video 组件 功能描述 重连投屏设备。仅支持在 tap 事件回调内调用。
阅读全文
posted @
2025-01-06 09:20
AtlasLapetos
阅读(6)
推荐(0)
VideoContext.playbackRate
摘要:VideoContext.playbackRate(number rate) 基础库 1.4.0 开始支持,低版本需做兼容处理。 小程序插件:支持 微信 鸿蒙 OS 版:支持 相关文档: video 组件 功能描述 设置倍速播放 参数 number rate 倍率,支持 0.5/0.8/1.0/1.
阅读全文
posted @
2025-01-06 09:20
AtlasLapetos
阅读(47)
推荐(0)
VideoContext.play
摘要:VideoContext.play() 小程序插件:支持 相关文档: video 组件 功能描述 播放视频
阅读全文
posted @
2025-01-06 09:20
AtlasLapetos
阅读(6)
推荐(0)
VideoContext.pause
摘要:VideoContext.pause() 小程序插件:支持 微信 鸿蒙 OS 版:支持 相关文档: video 组件 功能描述 暂停视频
阅读全文
posted @
2025-01-06 09:20
AtlasLapetos
阅读(9)
推荐(0)
VideoContext.hideStatusBar
摘要:VideoContext.hideStatusBar() 基础库 2.1.0 开始支持,低版本需做兼容处理。 小程序插件:支持 相关文档: video 组件 功能描述 隐藏状态栏,仅在iOS全屏下有效
阅读全文
posted @
2025-01-06 09:20
AtlasLapetos
阅读(9)
推荐(0)
VideoContext.exitPictureInPicture
摘要:VideoContext.exitPictureInPicture(Object object) 以 Promise 风格 调用:不支持 小程序插件:支持 相关文档: video 组件 功能描述 退出小窗,该方法可在任意页面调用 参数 Object object 属性 类型 默认值 必填 说明 su
阅读全文
posted @
2025-01-06 09:20
AtlasLapetos
阅读(6)
推荐(0)
VideoContext.exitFullScreen
摘要:VideoContext.exitFullScreen() 基础库 1.4.0 开始支持,低版本需做兼容处理。 小程序插件:支持 微信 鸿蒙 OS 版:支持 相关文档: video 组件 功能描述 退出全屏
阅读全文
posted @
2025-01-06 09:20
AtlasLapetos
阅读(9)
推荐(0)
VideoContext.exitCasting
摘要:VideoContext.exitCasting() 基础库 2.32.0 开始支持,低版本需做兼容处理。 小程序插件:支持 相关文档: video 组件 功能描述 退出投屏。仅支持在 tap 事件回调内调用。
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(7)
推荐(0)
VideoContext.exitBackgroundPlayback
摘要:VideoContext.exitBackgroundPlayback() 基础库 2.14.3 开始支持,低版本需做兼容处理。 小程序插件:支持 相关文档: video 组件 功能描述 退出后台音频播放模式。
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(4)
推荐(0)
VideoContext
摘要:VideoContext 相关文档: video 组件 VideoContext 实例,可通过 wx.createVideoContext 获取。 VideoContext 通过 id 跟一个 video 组件绑定,操作对应的 video 组件。 方法 VideoContext.play() 播放视
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(37)
推荐(0)
wx.checkDeviceSupportHevc
摘要:wx.checkDeviceSupportHevc(Object object) 以 Promise 风格 调用:不支持 小程序插件:不支持 功能描述 查询设备是否支持 H.265 编码 参数 Object object 属性 类型 默认值 必填 说明 success function 否 接口调用
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(22)
推荐(0)
wx.chooseMedia
摘要:wx.chooseMedia(Object object) 基础库 2.10.0 开始支持,低版本需做兼容处理。 以 Promise 风格 调用:支持 小程序插件:支持,需要小程序基础库版本不低于 2.11.1 微信 Windows 版:支持 微信 Mac 版:支持 微信 鸿蒙 OS 版:支持 功能
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(141)
推荐(0)
wx.chooseVideo
摘要:wx.chooseVideo(Object object) 从基础库 2.21.0 开始,本接口停止维护,请使用 wx.chooseMedia 代替 以 Promise 风格 调用:支持 小程序插件:支持,需要小程序基础库版本不低于 1.9.6 微信 Windows 版:支持 微信 Mac 版:支持
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(60)
推荐(0)
wx.compressVideo
摘要:wx.compressVideo(Object object) 基础库 2.11.0 开始支持,低版本需做兼容处理。 以 Promise 风格 调用:支持 小程序插件:支持,需要小程序基础库版本不低于 2.11.1 功能描述 压缩视频接口。开发者可指定压缩质量 quality 进行压缩。当需要更精细
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(52)
推荐(0)
wx.createVideoContext
摘要:VideoContext wx.createVideoContext(string id, Object this) 小程序插件:支持,需要小程序基础库版本不低于 1.9.6 微信 Windows 版:支持 微信 Mac 版:支持 微信 鸿蒙 OS 版:支持 相关文档: video 组件 功能描述
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(105)
推荐(0)
wx.getVideoInfo
摘要:wx.getVideoInfo(Object object) 基础库 2.11.0 开始支持,低版本需做兼容处理。 以 Promise 风格 调用:支持 小程序插件:支持 微信 鸿蒙 OS 版:支持 功能描述 获取视频详细信息。 参数 Object object 属性 类型 默认值 必填 说明 sr
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(45)
推荐(0)
wx.openVideoEditor
摘要:wx.openVideoEditor(Object object) 基础库 2.12.0 开始支持,低版本需做兼容处理。 以 Promise 风格 调用:不支持 小程序插件:支持,需要小程序基础库版本不低于 2.15.0 功能描述 打开视频编辑器 参数 Object object 属性 类型 默认值
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(51)
推荐(0)
wx.saveVideoToPhotosAlbum
摘要:wx.saveVideoToPhotosAlbum(Object object) 基础库 1.2.0 开始支持,低版本需做兼容处理。 以 Promise 风格 调用:支持 用户授权:需要 scope.writePhotosAlbum 小程序插件:支持,需要小程序基础库版本不低于 1.9.6 微信 W
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(73)
推荐(0)
wx.chooseImage
摘要:wx.chooseImage(Object object) 从基础库 2.21.0 开始,本接口停止维护,请使用 wx.chooseMedia 代替 以 Promise 风格 调用:支持 小程序插件:支持,需要小程序基础库版本不低于 1.9.6 微信 Windows 版:支持 微信 Mac 版:支持
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(42)
推荐(0)
wx.chooseMessageFile
摘要:wx.chooseMessageFile(Object object) 基础库 2.5.0 开始支持,低版本需做兼容处理。 以 Promise 风格 调用:支持 小程序插件:不支持 功能描述 从客户端会话选择文件。 参数 Object object 属性 类型 默认值 必填 说明 最低版本 coun
阅读全文
posted @
2025-01-06 09:19
AtlasLapetos
阅读(198)
推荐(0)