ezuikit-js 8.1.3-beta.1 → 8.1.3-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -25
- package/ezuikit.js +11 -9
- package/index.esm.js +8 -6
- package/index.js +8 -6
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,37 +1,28 @@
|
|
|
1
|
-
## v8.1.
|
|
1
|
+
## v8.1.3 (2024-12-31)
|
|
2
|
+
|
|
3
|
+
#### Feat
|
|
4
|
+
|
|
5
|
+
- 回放录像片段查询接口替换
|
|
6
|
+
- 多实例播放场景下,支持同时开启所有画面的声音
|
|
7
|
+
|
|
8
|
+
#### Fixed
|
|
9
|
+
|
|
10
|
+
- 修复destroy销毁实例后,部分dom、样式残留的问题
|
|
11
|
+
- 修复了一些小bug
|
|
12
|
+
|
|
13
|
+
## v8.1.2 (2024-12-13)
|
|
2
14
|
|
|
3
15
|
#### Feat
|
|
4
16
|
|
|
5
17
|
- 新增静态多语言变量 `LOCALES`, 可以使用 `EZUIKitPlayer.LOCALES` 访问
|
|
6
|
-
- 更新 header
|
|
18
|
+
- 更新 header 的 默认样式和交互, 和 footer 保持一致
|
|
7
19
|
- 弃用 hls,请使用 [ezuikti-flv](https://www.npmjs.com/package/ezuikit-flv) 代替
|
|
8
20
|
- 弃用 flv,请使用 [@ezuikit/player-hls] https://www.npmjs.com/package/@ezuikit/player-hls 代替
|
|
9
21
|
- 弃用 EZWebRtc, 请使用 [ertc-web](https://www.npmjs.com/package/ertc-web)
|
|
10
|
-
- H5 模板支持云录制 2.0
|
|
11
|
-
- 支持 commonjs 和 esm [issues #268](https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/issues/268), [issues #223](https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/issues/223)
|
|
12
|
-
```ts
|
|
13
|
-
import { EZUIKitPlayer } from "ezuikit-js";
|
|
14
|
-
const player = new EZUIKitPlayer({
|
|
15
|
-
id: "video-container", // 视频容器ID
|
|
16
|
-
accessToken:
|
|
17
|
-
"at.3bvmj4ycamlgdwgw1ig1jruma0wpohl6-48zifyb39c-13t5am6-yukyi86mz",
|
|
18
|
-
url: "ezopen://open.ys7.com/BD3957004/1.live",
|
|
19
|
-
width: 600,
|
|
20
|
-
height: 400,
|
|
21
|
-
handleError: (err) => {
|
|
22
|
-
if (err.type === "handleRunTimeInfoError" && err.data.nErrorCode === 5) {
|
|
23
|
-
// 加密设备密码错误
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
```
|
|
28
22
|
|
|
29
23
|
#### Fixed
|
|
30
24
|
|
|
31
25
|
- 修复移动端回放主题退出全屏后,日历的位置不对的问题
|
|
32
|
-
- 修复多实例播放时,小概率出现绿屏、花屏的问题
|
|
33
|
-
- 修复实例销毁后,dom 节点和样式文件残留的问题
|
|
34
|
-
-
|
|
35
26
|
|
|
36
27
|
## v8.1.1 (2024-11-18)
|
|
37
28
|
|
|
@@ -46,7 +37,7 @@
|
|
|
46
37
|
- 优化全屏的逻辑, 修复已知的 bug, [issues #240](https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/issues/240)
|
|
47
38
|
- 优化 resize 的逻辑, 修复已知的 bug [issues #120](https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/issues/120)
|
|
48
39
|
- 修复初始化窗口抖动的 bug
|
|
49
|
-
- 修复一些已知 bug [issues #269](https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/issues/269)
|
|
40
|
+
- 修复一些已知 bug [issues #269](https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/issues/269)
|
|
50
41
|
|
|
51
42
|
## v8.1.0 (2024-11-04)
|
|
52
43
|
|
|
@@ -68,7 +59,6 @@
|
|
|
68
59
|
## v8.0.12(2024-10-14)
|
|
69
60
|
|
|
70
61
|
- 新增备用机房地址获取逻辑
|
|
71
|
-
|
|
72
62
|
- 取流失败、断流时使用备用机房发起取流请求,提高可用性保障
|
|
73
63
|
|
|
74
64
|
- 清晰度切换逻辑优化
|