(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0cf6b5"],{6445:function(e,s,t){"use strict";t.r(s);var i=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{ref:"video"})},o=[],c=t("ade3"),n={data:function(){return{isVideo:!1}},props:["src"],watch:{src:{handler:function(){var e=this;console.log(111,this.src),this.isVideo=!1,this.jessibuca&&this.jessibuca.destroy(),this.src&&setTimeout((function(){e.init()}),100)},immediate:!0}},destroyed:function(){this.jessibuca&&this.jessibuca.destroy&&this.jessibuca.destroy(),this.src.indexOf(".mp4")>-1&&(this.isVideo=!1)},methods:{init:function(){var e=this;this.jessibuca&&this.jessibuca.destroy&&this.jessibuca.destroy(),this.$nextTick((function(){var s;if(e.src)if(e.src.indexOf(".mp4")>-1)e.isVideo=!0;else{var t=new JessibucaPro((s={container:e.$refs["video"],hasVideo:!0,isResize:!0,text:"",networkDelay:10,loadingText:"加载中",useMSE:!0,useSIMD:!0,videoBuffer:.2,videoBufferDelay:1},Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])(s,"networkDelay",10),"decoderErrorAutoWasm",!0),"checkFirstIFrame",!0),"isDropSameTimestampGop",!1),"demuxUseWorker",!1),"mseDecoderUseWorker",!1),"isEdgeSupportHevc",!1),"autoWasm",!0),"controlAutoHide",!0),"showBandwidth",!1),Object(c["a"])(Object(c["a"])(Object(c["a"])(Object(c["a"])(s,"operateBtns",{fullscreen:!0,screenshot:!0,play:!0,audio:!0}),"forceNoOffscreen",!0),"useWebFullScreen",!0),"isNotMute",!1)));t.play(e.src),e.jessibuca=t,t.on("timeout",(function(e){console.log(e,1234)})),t.on("error",(function(e){console.log(e,12345)})),t.on("loadingTimeout",(function(e){console.log(e,1236)})),t.on("delayTimeout",(function(e){console.log(e,1237)}))}}))}},mounted:function(){},beforeDestroy:function(){this.jessibuca.destroy(),this.src.indexOf(".mp4")>-1&&(this.isVideo=!1)}},r=n,a=t("2877"),u=Object(a["a"])(r,i,o,!1,null,null,null);s["default"]=u.exports}}]);