更新播放器

This commit is contained in:
648540858
2022-03-28 15:26:48 +08:00
parent 60278ee6ad
commit 52cd02de51
9 changed files with 9 additions and 328 deletions

View File

@@ -80,10 +80,12 @@ export default {
container: this.$refs.container,
videoBuffer: 0.2, // 最大缓冲时长,单位秒
isResize: true,
decoder:"static/js/jessibuca/decoder.js",
useMSE: false,
showBandwidth: false,
isFlv: true,
decoder: "./static/js/jessibuca/index.js",
// text: "WVP-PRO",
// background: "bg.jpg",
// background: "static/images/zlm-logo.png",
loadingText: "加载中",
hasAudio: typeof (this.hasAudio) =="undefined"? true: this.hasAudio,
debug: false,
@@ -93,6 +95,7 @@ export default {
screenshot: false,
play: false,
audio: false,
recorder: false,
},
record: "record",
vod: this.vod,
@@ -133,8 +136,8 @@ export default {
});
this.jessibuca.on("videoInfo", function (msg) {
this.videoInfo = msg;
// console.log("videoInfo", msg);
// this.videoInfo = msg;
console.log("videoInfo", msg);
});