| openid | string | - | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| (string) 进入房间用户的 openid |
| mode | string | - | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| (string) 对话窗口类型 |
| 合法值 | 兼容性 | 描述 | | camera | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| 自身传入 camera | | video | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| 其他用户传入 video |
|
| device-position | string | - | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| (string) 摄像头方向,仅在 mode 为 camera 时有效 |
| 合法值 | 兼容性 | 描述 | | front | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| 前置 | | back | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| 后置 |
|
| object-fit | string | - | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| (string) 画面与容器比例不一致时,画面的表现形式 |
| 合法值 | 兼容性 | 描述 | | fill | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| 填充 | | contain | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| 包含 | | cover | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| 覆盖,安卓暂未支持,iOS 生效 |
|
| @error | eventhandle | - | |
Web
|
微信小程序
|
Android
|
Android(Vapor)
|
iOS
|
iOS(Vapor)
|
HarmonyOS
|
HarmonyOS(Vapor)
| | x | 4.41 | x | - | x | - | x | - |
| (eventhandle) 创建对话窗口失败时触发 |