Commit 4148f35d authored by zhangjianqian's avatar zhangjianqian

大屏监控修改H5player 缩放

parent 70c500f7
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
}, },
watch: {}, watch: {},
mounted() { mounted() {
setTimeout(() => { this.$nextTick(() => {
if(!window.JSPlugin){ if(!window.JSPlugin){
this.loadScript("/h5player/h5player.min.js").then(() =>{ this.loadScript("/h5player/h5player.min.js").then(() =>{
this.createPlayer(); this.createPlayer();
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
this.createPlayer(); this.createPlayer();
this.init() this.init()
} }
}, 1); });
// setTimeout(() => { // setTimeout(() => {
// this.player = new WasmPlayer(null, "video", this.callBack, { // this.player = new WasmPlayer(null, "video", this.callBack, {
// Height: true, // Height: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment