File tree Expand file tree Collapse file tree 9 files changed +72
-18
lines changed Expand file tree Collapse file tree 9 files changed +72
-18
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ <h2>视频模式使用示例:</h2>
2323 < button onClick ="closeSound() "> closeSound</ button >
2424 < button onClick ="startSave() "> startSave</ button >
2525 < button onClick ="stopSave() "> stopSave</ button >
26- < button onClick ="startTalk () "> 开始对讲</ button >
27- < button onClick ="stopTalk () "> 结束对讲</ button >
26+ < button onClick ="ezopenStartTalk () "> 开始对讲</ button >
27+ < button onClick ="ezopenStopTalk () "> 结束对讲</ button >
2828 < button onClick ="fullScreen() "> 全屏</ button >
2929 </ div >
3030 < p style ="font-style: italic; "> 播放多个视频,可初始化多个实例,参考:/demos/base-demo/multi-demo</ p >
@@ -105,6 +105,12 @@ <h2>视频模式使用示例:</h2>
105105 console . log ( "promise 获取 数据" , data )
106106 } )
107107 }
108+ function ezopenStartTalk ( ) {
109+ playr . startTalk ( ) ;
110+ }
111+ function ezopenStopTalk ( ) {
112+ playr . stopTalk ( ) ;
113+ }
108114 </ script >
109115</ body >
110116
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ <h2>视频模式使用示例:</h2>
2323 < button onClick ="closeSound() "> closeSound</ button >
2424 < button onClick ="startSave() "> startSave</ button >
2525 < button onClick ="stopSave() "> stopSave</ button >
26- < button onClick ="startTalk () "> 开始对讲</ button >
27- < button onClick ="stopTalk () "> 结束对讲</ button >
26+ < button onClick ="ezopenStartTalk () "> 开始对讲</ button >
27+ < button onClick ="ezopenStopTalk () "> 结束对讲</ button >
2828 < button onClick ="fullScreen() "> 全屏</ button >
2929 </ div >
3030 < p style ="font-style: italic; "> 播放多个视频,可初始化多个实例,参考:/demos/base-demo/multi-demo</ p >
@@ -105,6 +105,12 @@ <h2>视频模式使用示例:</h2>
105105 console . log ( "promise 获取 数据" , data )
106106 } )
107107 }
108+ function ezopenStartTalk ( ) {
109+ playr . startTalk ( ) ;
110+ }
111+ function ezopenStopTalk ( ) {
112+ playr . stopTalk ( ) ;
113+ }
108114 </ script >
109115</ body >
110116
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ <h2>视频模式使用示例:</h2>
2323 < button onClick ="closeSound() "> closeSound</ button >
2424 < button onClick ="startSave() "> startSave</ button >
2525 < button onClick ="stopSave() "> stopSave</ button >
26- < button onClick ="startTalk () "> 开始对讲</ button >
27- < button onClick ="stopTalk () "> 结束对讲</ button >
26+ < button onClick ="ezopenStartTalk () "> 开始对讲</ button >
27+ < button onClick ="ezopenStopTalk () "> 结束对讲</ button >
2828 < button onClick ="fullScreen() "> 全屏</ button >
2929 </ div >
3030 < p style ="font-style: italic; "> 播放多个视频,可初始化多个实例,参考:/demos/base-demo/multi-demo</ p >
@@ -105,6 +105,12 @@ <h2>视频模式使用示例:</h2>
105105 console . log ( "promise 获取 数据" , data )
106106 } )
107107 }
108+ function ezopenStartTalk ( ) {
109+ playr . startTalk ( ) ;
110+ }
111+ function ezopenStopTalk ( ) {
112+ playr . stopTalk ( ) ;
113+ }
108114 </ script >
109115</ body >
110116
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ <h2>视频模式使用示例:</h2>
2323 < button onClick ="closeSound() "> closeSound</ button >
2424 < button onClick ="startSave() "> startSave</ button >
2525 < button onClick ="stopSave() "> stopSave</ button >
26- < button onClick ="startTalk () "> 开始对讲</ button >
27- < button onClick ="stopTalk () "> 结束对讲</ button >
26+ < button onClick ="ezopenStartTalk () "> 开始对讲</ button >
27+ < button onClick ="ezopenStopTalk () "> 结束对讲</ button >
2828 < button onClick ="fullScreen() "> 全屏</ button >
2929 </ div >
3030 < p style ="font-style: italic; "> 播放多个视频,可初始化多个实例,参考:/demos/base-demo/multi-demo</ p >
@@ -104,6 +104,12 @@ <h2>视频模式使用示例:</h2>
104104 console . log ( "promise 获取 数据" , data )
105105 } )
106106 }
107+ function ezopenStartTalk ( ) {
108+ playr . startTalk ( ) ;
109+ }
110+ function ezopenStopTalk ( ) {
111+ playr . stopTalk ( ) ;
112+ }
107113 </ script >
108114</ body >
109115
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ <h2>视频模式使用示例:</h2>
2525 < button onClick ="closeSound() "> closeSound</ button >
2626 < button onClick ="startSave() "> startSave</ button >
2727 < button onClick ="stopSave() "> stopSave</ button >
28- < button onClick ="startTalk () "> 开始对讲</ button >
29- < button onClick ="stopTalk () "> 结束对讲</ button >
28+ < button onClick ="ezopenStartTalk () "> 开始对讲</ button >
29+ < button onClick ="ezopenStopTalk () "> 结束对讲</ button >
3030 < button onClick ="fullScreen() "> 全屏</ button >
3131 </ div >
3232 < p style ="font-style: italic; "> 播放多个视频,可初始化多个实例,参考:/demos/base-demo/multi-demo</ p >
@@ -117,6 +117,12 @@ <h2>视频模式使用示例:</h2>
117117 console . log ( "promise 获取 数据" , data )
118118 } )
119119 }
120+ function ezopenStartTalk ( ) {
121+ playr . startTalk ( ) ;
122+ }
123+ function ezopenStopTalk ( ) {
124+ playr . stopTalk ( ) ;
125+ }
120126 </ script >
121127</ body >
122128
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ <h2>视频模式使用示例:</h2>
2323 < button onClick ="closeSound() "> closeSound</ button >
2424 < button onClick ="startSave() "> startSave</ button >
2525 < button onClick ="stopSave() "> stopSave</ button >
26- < button onClick ="startTalk () "> 开始对讲</ button >
27- < button onClick ="stopTalk () "> 结束对讲</ button >
26+ < button onClick ="ezopenStartTalk () "> 开始对讲</ button >
27+ < button onClick ="ezopenStopTalk () "> 结束对讲</ button >
2828 < button onClick ="fullScreen() "> 全屏</ button >
2929 </ div >
3030 < p style ="font-style: italic; "> 播放多个视频,可初始化多个实例,参考:/demos/base-demo/multi-demo</ p >
@@ -105,6 +105,12 @@ <h2>视频模式使用示例:</h2>
105105 console . log ( "promise 获取 数据" , data )
106106 } )
107107 }
108+ function ezopenStartTalk ( ) {
109+ playr . startTalk ( ) ;
110+ }
111+ function ezopenStopTalk ( ) {
112+ playr . stopTalk ( ) ;
113+ }
108114 </ script >
109115</ body >
110116
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ <h2>视频模式使用示例:</h2>
2323 < button onClick ="closeSound() "> closeSound</ button >
2424 < button onClick ="startSave() "> startSave</ button >
2525 < button onClick ="stopSave() "> stopSave</ button >
26- < button onClick ="startTalk () "> 开始对讲</ button >
27- < button onClick ="stopTalk () "> 结束对讲</ button >
26+ < button onClick ="ezopenStartTalk () "> 开始对讲</ button >
27+ < button onClick ="ezopenStopTalk () "> 结束对讲</ button >
2828 < button onClick ="fullScreen() "> 全屏</ button >
2929 </ div >
3030 < p style ="font-style: italic; "> 播放多个视频,可初始化多个实例,参考:/demos/base-demo/multi-demo</ p >
@@ -104,6 +104,12 @@ <h2>视频模式使用示例:</h2>
104104 console . log ( "promise 获取 数据" , data )
105105 } )
106106 }
107+ function ezopenStartTalk ( ) {
108+ playr . startTalk ( ) ;
109+ }
110+ function ezopenStopTalk ( ) {
111+ playr . stopTalk ( ) ;
112+ }
107113 </ script >
108114</ body >
109115
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ <h2>视频模式使用示例:</h2>
2323 < button onClick ="closeSound() "> closeSound</ button >
2424 < button onClick ="startSave() "> startSave</ button >
2525 < button onClick ="stopSave() "> stopSave</ button >
26- < button onClick ="startTalk () "> 开始对讲</ button >
27- < button onClick ="stopTalk () "> 结束对讲</ button >
26+ < button onClick ="ezopenStartTalk () "> 开始对讲</ button >
27+ < button onClick ="ezopenStopTalk () "> 结束对讲</ button >
2828 < button onClick ="fullScreen() "> 全屏</ button >
2929 </ div >
3030 < p style ="font-style: italic; "> 播放多个视频,可初始化多个实例,参考:/demos/base-demo/multi-demo</ p >
@@ -112,6 +112,12 @@ <h2>视频模式使用示例:</h2>
112112 console . log ( "promise 获取 数据" , data )
113113 } )
114114 }
115+ function ezopenStartTalk ( ) {
116+ playr . startTalk ( ) ;
117+ }
118+ function ezopenStopTalk ( ) {
119+ playr . stopTalk ( ) ;
120+ }
115121 </ script >
116122</ body >
117123
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ <h2>视频模式使用示例:</h2>
2323 < button onClick ="closeSound() "> closeSound</ button >
2424 < button onClick ="startSave() "> startSave</ button >
2525 < button onClick ="stopSave() "> stopSave</ button >
26- < button onClick ="startTalk () "> 开始对讲</ button >
27- < button onClick ="stopTalk () "> 结束对讲</ button >
26+ < button onClick ="ezopenStartTalk () "> 开始对讲</ button >
27+ < button onClick ="ezopenStopTalk () "> 结束对讲</ button >
2828 < button onClick ="fullScreen() "> 全屏</ button >
2929 </ div >
3030 < p style ="font-style: italic; "> 播放多个视频,可初始化多个实例,参考:/demos/base-demo/multi-demo</ p >
@@ -213,6 +213,12 @@ <h2>视频模式使用示例:</h2>
213213 console . log ( "promise 获取 数据" , data )
214214 } )
215215 }
216+ function ezopenStartTalk ( ) {
217+ playr . startTalk ( ) ;
218+ }
219+ function ezopenStopTalk ( ) {
220+ playr . stopTalk ( ) ;
221+ }
216222 </ script >
217223</ body >
218224
You can’t perform that action at this time.
0 commit comments