Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3fde928

Browse files
committed
[CHG]更新使用说明更新使用说明
1 parent f3370fd commit 3fde928

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

README.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import EZUIKit from 'ezuikit-js';
3838
var player = new EZUIKit.EZUIKitPlayer({
3939
id: 'video-container', // 视频容器ID
4040
accessToken: 'at.3bvmj4ycamlgdwgw1ig1jruma0wpohl6-48zifyb39c-13t5am6-yukyi86mz',
41-
url: 'ezopen://open.ys7.com/203751922/1.live',
41+
url: 'ezopen://open.ys7.com/G39444019/1.live',
4242
width: 600,
4343
height: 400,
4444
})
@@ -50,9 +50,45 @@ import EZUIKit from 'ezuikit-js';
5050
width: 600,
5151
height: 400,
5252
accessToken: 'at.3bvmj4ycamlgdwgw1ig1jruma0wpohl6-48zifyb39c-13t5am6-yukyi86mz',
53-
url: 'ezopen://open.ys7.com/203751922/1.rec'
53+
url: 'ezopen://open.ys7.com/G39444019/1.rec'
5454
})
5555
```
56+
#### tips
57+
为方便开发者快速接入
58+
59+
我们提供了测试accessToken,测试播放地址,以及提供了几种常用场景使用示例。
60+
61+
<b>测试播放地址:</b> ezopen://open.ys7.com/G39444019/1.live
62+
63+
你可以通过以下地址获取到测试accessToken <a href="https://open.ys7.com/jssdk/ezopen/demo/token" target="_blank">获取测试accessToken</a>
64+
65+
##### 使用示例
66+
<b>基本使用:</b>
67+
<a href="https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/blob/master/demos/base-demo/base.html" target="_blank">基本使用示例</a>
68+
69+
<b>自定义主题:</b>
70+
71+
<a href="https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/blob/master/demos/base-demo/template.html" target="_blank">自定义主题示例</a>
72+
73+
<b>本地主题配置:</b>
74+
75+
<a href="https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/blob/master/demos/base-demo/themeData.html" target="_blank">本地主题配置示例</a>
76+
77+
<b>PC端预览-固定主题:</b>
78+
<a href="https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/blob/master/demos/base-demo/pcLive.html" target="_blank">PC端预览-固定主题示例</a>
79+
80+
<b>PC端回放-固定主题:</b>
81+
<a href="https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/blob/master/demos/base-demo/pcRec.html" target="_blank">PC端回放-固定主题示例</a>
82+
83+
<b>移动端预览-固定主题:</b>
84+
<a href="https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/blob/master/demos/base-demo/mobileLive.html" target="_blank">移动端预览-固定主题示例</a>
85+
86+
<b>移动端回放-固定主题:</b>
87+
<a href="https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/blob/master/demos/base-demo/mobileRec.html" target="_blank">移动端回放-固定主题示例</a>
88+
89+
<b>单页面多实例(视频多窗口):</b>
90+
<a href="https://github.com/Ezviz-OpenBiz/EZUIKit-JavaScript-npm/blob/master/demos/base-demo/multi.html" target="_blank">单页面多实例(视频多窗口)示例</a>
91+
5692
#### 附录: 初始化参数说明
5793

5894
<table>

0 commit comments

Comments
 (0)