提交代码

dev_xd
姜玉琦 2025-12-26 09:35:38 +08:00
parent 7660cc28cd
commit d61809bddc
3 changed files with 6 additions and 4 deletions

View File

@ -16,7 +16,7 @@
<script
type="text/javascript"
src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=eseRcUMFiUlnWA6miQLejNpvS70H8SRN"
src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=nDcjhjtaNwnVrKNIDbjibTm6i4u0k0fk"
></script>
<script src="/cdn/vue/dist/vue.js"></script>
<script src="/cdn/element-ui/lib/index.js"></script>

View File

@ -14,6 +14,7 @@ Page({
ysToken: '',
palyUrl: '',
channelNo: 0,
loginName: '',
},
/**
@ -31,7 +32,8 @@ Page({
let _url = "rtmp://open.ys7.com/"+_dat[0]+"/"+_cha+"/live";
this.setData({
palyUrl: _url,
channelNo: _cha
channelNo: _cha,
loginName: app.globalData.userData.userName,
});
},

View File

@ -19,10 +19,10 @@
id="ezplayer"
accessToken="{{ysToken}}"
url="{{palyUrl}}"
plugins="talk,voice,capture"
plugins="talk,voice,capture,ptz"
width="360"
height="300"
watermark="shuiyin"
watermark="{{loginName}}"
themeData="{'poster':'','controls':{fullScreenBtn:false,hdBtn:true}}"
channelNo="{{channelNo}}"
bind:handleError="handleError"