更新文档

This commit is contained in:
zhouliujun 2019-11-14 17:57:34 +08:00
parent 2770d3311b
commit 8e375801bd

View File

@ -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'
} }
} }
}, },