Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5917a99 commit 0a138a4Copy full SHA for 0a138a4
README.md
@@ -47,6 +47,22 @@ import EZUIKit from "ezuikit-js";
47
```html
48
<!-- umd -->
49
<script src="./ezuikit.js"></script>
50
+
51
+<script>
52
+const player = new EZUIKit.EZUIKitPlayer({
53
+ id: "video-container", // 视频容器ID
54
+ accessToken:
55
+ "at.3bvmj4ycamlgdwgw1ig1jruma0wpohl6-48zifyb39c-13t5am6-yukyi86mz",
56
+ url: "ezopen://open.ys7.com/BD3957004/1.live",
57
+ width: 600,
58
+ height: 400,
59
+ handleError: (err) => {
60
+ if (err.type === "handleRunTimeInfoError" && err.data.nErrorCode === 5) {
61
+ // 加密设备密码错误
62
+ }
63
+ },
64
+});
65
66
```
67
68
### 开始使用 - 初始化
0 commit comments