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 763b993 commit 3b98675Copy full SHA for 3b98675
README.md
@@ -46,7 +46,13 @@ import EZUIKit from 'ezuikit-js';
46
> 示例: 停止播放
47
48
```
49
- player.stop();
+ 1. player.stop();
50
+
51
+ 2. player.stop()
52
+ .then(()=>{
53
+ console.log("执行播放成功后其他动作");
54
+ });
55
56
57
> 示例: 执行播放(自动播放为false,自定义触发播放/切换播放地址)
58
@@ -61,14 +67,14 @@ import EZUIKit from 'ezuikit-js';
61
67
切换地址播放(注意需要先执行stop方法停止上次取流)
62
68
63
69
64
- player.stop
70
+ player.stop()
65
71
.then(()=>{
66
72
player.play('ezopen://open.ys7.com/{其他设备}/{其他通道}.live');
73
});
74
75
// 其他账号下设备
76
77
78
79
player.play({url:'ezopen://open.ys7.com/{其他设备}/{其他通道}.live',accessToken: 'xxxx'});
80
0 commit comments