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

Skip to content

Commit cbc8792

Browse files
committed
[CHG]添加使用示例demo
1 parent 3bf6661 commit cbc8792

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

demo/demo-jsdecoder-mulit-split.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
<h2>预览,回放 多窗口模式示例:</h2>
3434
<!-- <p>ezopen地址用逗号分隔</p> -->
3535
<textarea id="url" placeholder="这里输入ezopen地址">ezopen://open.ys7.com/b3aaef239a974c5dbe768984d1a5731d.live,ezopen://open.ys7.com/f01018a141094b7fa138b9d0b856507b.live,ezopen://open.ys7.com/6538e95071194d2f9ca9ca9e3c09904e.live,ezopen://open.ys7.com/f01018a141094b7fa138b9d0b856507b.live</textarea>
36-
<!-- <textarea id="url" placeholder="这里输入ezopen地址">ezopen://open.ys7.com/b3aaef239a974c5dbe768984d1a5731d.live</textarea> -->
37-
<textarea id="accessToken" placeholder="这里输入accessToken">at.12zcwvys36992fts7xanq6ym0dn9utxm-7auuqr4eqq-0tq3rwu-mfg4yysjw</textarea>
36+
<textarea id="accessToken" placeholder="这里输入accessToken"></textarea>
3837
<div class="btn-container">
3938
<button id="init">开始初始化</button>
4039
<button id="start">播放</button>

demo/demo-jsdecoder.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
<!-- <script src="../js/jsPlugin-1.2.0.js"></script> -->
3131
<script src="../js/jquery.min.js"></script>
3232
<h2>预览,回放功能示例:</h2>
33-
<textarea id="url" placeholder="这里输入ezopen地址">ezopen://open.ys7.com/f01018a141094b7fa138b9d0b856507x.live</textarea>
34-
<textarea id="accessToken" placeholder="这里输入accessToken">at.12zcwvys36992fts7xanq6ym0dn9utxm-7auuqr4eqq-0tq3rwu-mfg4yysjw</textarea>
33+
<textarea id="url" placeholder="这里输入ezopen地址"></textarea>
34+
<textarea id="accessToken" placeholder="这里输入accessToken"></textarea>
3535
<div class="btn-container">
3636
<button id="init">开始初始化</button>
3737
<button id="start">播放</button>

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ <h2>版本</h2>
2626
</ul>
2727
<h2>功能列表</h2>
2828
<ul>
29-
<li>直播(点击进入,自动适配HLS/RTMP/WS地址)</li>
30-
<li>监控(点击进入,目前支持非加密设备的预览与本地录像的回放)</li>
31-
<li>多窗口(点击进入,支持1,4,9个窗口播放,多窗口对浏览器性能要求较高建议使用流畅地址)</li>
29+
<li><a href="./demo/demo-live.html">直播</a>(点击进入,自动适配HLS/RTMP/WS地址)</li>
30+
<li><a href="./demo/demo-jsdecoder.html">监控</a>(点击进入,目前支持非加密设备的预览与本地录像的回放)</li>
31+
<li><a href="./demo/demo-jsdecoder-mulit-split.html">多窗口</a>(点击进入,支持1,4,9个窗口播放,多窗口对浏览器性能要求较高建议使用流畅地址)</li>
3232
<li>更多功能需求可前往官网提交</li>
3333
</ul>
3434
</body>

0 commit comments

Comments
 (0)