File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,21 @@ You can visit <https://webav-tech.github.io/WebAV/demo> to check your current br
3333
3434For mobile devices and more detailed compatibility information, please check [ Can i use WebCodecs] ( https://caniuse.com/?search=WebCodecs )
3535
36+ ::: warning
3637** The website must use HTTPS or localhost** , otherwise:
3738
3839- WebCodecs API will be detected as incompatible.
3940- The console will report the error: ` Cannot read properties of undefined (reading 'getDirectory') ` .
40-
41- The translation for your text is:
41+ :::
4242
4343### Does it support Vue or other UI frameworks?
4444
4545Yes, it does.
4646
4747WebAV is an audio-video processing library and is independent of any UI framework.
4848The UI in the DEMO is developed using React, but if you're using another UI framework, just focus on the WebAV API.
49+
50+ ::: warning
51+ Do not wrap WebAV object instances using Vue's reactive/proxy APIs. Proxying WebAV objects will cause errors:
52+ ` Cannot read from private field at xxx `
53+ :::
Original file line number Diff line number Diff line change @@ -35,14 +35,22 @@ Chrome/Edge 102+,不支持 Safari,不支持 Firefox。
3535
3636移动端以及更详细的兼容信息请查看 [ Can i use WebCodecs] ( https://caniuse.com/?search=WebCodecs )
3737
38- ** 且网页必须是 HTTPS 协议或 localhost** ,否则
38+ ::: warning
39+ ** 网页必须是 HTTPS 协议或 localhost** ,否则
3940
4041- WebCodecs API 检测将返回不兼容
4142- 控制台报错 ` Cannot read properties of undefined (reading 'getDirectory') `
4243
44+ :::
45+
4346### 是否支持 Vue 或其他 UI 框架
4447
45- 支持。
48+ ** 支持。**
4649
4750WebAV 是一个音视频处理工具库,跟 UI 框架无关。
48- DEMO 中的 UI 使用 React 开发,若使用其他 UI 框架重点关注其中 WebAV 的 API 即可。
51+ DEMO 中的 UI 使用 React 开发,参考其中 WebAV 相关的 API,移植到其他 UI 框架即可。
52+
53+ ::: warning
54+ WebAV 的对象实例不要使用 Vue 进行代理,Proxy 代理 WebAV 对象会导致错误:
55+ ` Cannot read from private field at xxx `
56+ :::
You can’t perform that action at this time.
0 commit comments