Commit 18242c44 by 李伟康

提交代码

1 parent a29278d6
......@@ -52,22 +52,31 @@ export default {
mounted () {
let _this = this
wxConfig.ready(() => {
wx.getNetworkType({
success: (result) => {
_this.player = TCPlayer("player-container-id", {
// fileID: "387702304976042167",
// appID: "1311227058",
autoplay: true,
loop: true,
controlBar: {
fullscreenToggle: false
}
})
_this.player.volume(0)
_this.player.src('http://play.glsx.com.cn/live/live.m3u8')
_this.player.play()
_this.player = TCPlayer("player-container-id", {
// fileID: "387702304976042167",
// appID: "1311227058",
autoplay: true,
loop: true,
controlBar: {
fullscreenToggle: false
},
webrtcConfig: {
showLog: true
}
})
_this.player.src('http://play.glsx.com.cn/live/live.m3u8')
_this.player.ready(function () {
wx.getNetworkType({
success: (result) => {
_this.player.volume(0)
_this.player.play()
}
})
})
_this.player.on('webrtcevent', function (event) {
console.log(event)
})
})
},
......@@ -113,7 +122,7 @@ export default {
#player-container-id {
width: 100%;
height: 100%;
video{
video {
object-fit: cover !important;
}
}
......
......@@ -82,7 +82,7 @@
<div><span>{{ groupInfo.groupQuantity }}</span>人已参团</div>
<div> <span>{{ groupInfo.viewAmount }}</span>人已浏览</div>
</div>
<template v-if="groupInfo.arr && groupInfo.arr.length">
<!-- <template v-if="groupInfo.arr && groupInfo.arr.length">
<van-swipe
class="group-swipe"
vertical
......@@ -106,7 +106,7 @@
</van-swipe-item>
</template>
</van-swipe>
</template>
</template> -->
</div>
<div
class="box progress-box"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!