mirror of
https://github.com/langyuxiansheng/vue-aliplayer-v2.git
synced 2025-04-06 03:57:55 +08:00
更新文档
This commit is contained in:
parent
2770d3311b
commit
8e375801bd
@ -22,8 +22,8 @@ Vue.use(VueAliplayerV2);
|
|||||||
<vue-aliplayer-v2
|
<vue-aliplayer-v2
|
||||||
@ready="handleReady"
|
@ready="handleReady"
|
||||||
ref="VueAliplayerV2"
|
ref="VueAliplayerV2"
|
||||||
id="player-1194076936807170080"
|
id="player-1194076936807171180"
|
||||||
:options="{source:'rtmp://118.114.10.238:1688/hls/1194076936807170080'}" />
|
:options="options" />
|
||||||
<button @click="play()">播放</button>
|
<button @click="play()">播放</button>
|
||||||
<button @click="pause()">暂停</button>
|
<button @click="pause()">暂停</button>
|
||||||
<button @click="replay()">重播</button>
|
<button @click="replay()">重播</button>
|
||||||
@ -35,7 +35,7 @@ export default {
|
|||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
options: { //配置项
|
options: { //配置项
|
||||||
source:'rtmp://182.145.195.238:1935/hls/1194076936807170053'
|
source:'rtmp://182.112.15.258:1688/hls/1194076936807171180'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user