播放器
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
scroll-x="true"
|
||||
class="detail_title video_box"
|
||||
style="background-color: #fff"
|
||||
>
|
||||
|
||||
>
|
||||
|
||||
<view
|
||||
v-for="(v, i) in dataList"
|
||||
:class="`video_item ${currentVideo&¤tVideo.id == v.id ? 'hot' : ''}`"
|
||||
@@ -35,6 +35,9 @@ export default {
|
||||
},
|
||||
onLoad(options) {},
|
||||
onHide() {},
|
||||
mounted() {
|
||||
console.log('currentVideo播放列表收到的--',this.currentVideo)
|
||||
},
|
||||
computed: {
|
||||
...mapState(["userInfo"]),
|
||||
},
|
||||
|
||||
@@ -127,12 +127,12 @@
|
||||
this.isChange = false;
|
||||
},
|
||||
async changeVideo(data) {
|
||||
console.log('changeVideo',);
|
||||
console.log('changeVideo+++++++++',data);
|
||||
this.currentTime = "";
|
||||
this.firstTime = 0;
|
||||
this.isSetFirstTime = false;
|
||||
this.isChange = false;
|
||||
this.getLive(true, this.currentVideo)
|
||||
this.getLive(true, data)
|
||||
// await this.init(data, true);
|
||||
},
|
||||
screenChange(data) {
|
||||
@@ -663,7 +663,7 @@
|
||||
source: this.videoData.m3u8Url,
|
||||
// "playConfig": {"EncryptType": "HLSEncryption"}
|
||||
}
|
||||
console.log('这是标准加密的视频');
|
||||
console.log('这是标准加密的视频',this.videoData.id,this.videoData.m3u8Url);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user