(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-22b059ba"],{1391:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"videoplay"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],staticClass:"player"},[e.ready?i("video-player",{ref:"videoPlayer",staticClass:"vjs-custom-skin",attrs:{options:e.playerOptions,"webkit-playsinline":"","x5-video-player-type":"h5",playsinline:"",controls:"false"}}):e._e()],1)])},o=[],s=(i("fda2"),i("451f"),i("3d33")),r=i.n(s);window.videojs=r.a,i("5c6f");var n={name:"videoplay",components:{},data:function(){return{ready:!1,info:[],liveUrl:"",playerOptions:{autoplay:!1,sources:[{withCredentials:!1,type:"application/x-mpegURL"}],controlBar:!1,flash:{hls:{withCredentials:!1}},html5:{hls:{withCredentials:!1}}}}},methods:{videoSource:function(){var e=this,t={};void 0!=this.$route.query.roomnumber&&(t.roomnumber=this.$route.query.roomnumber),this.$jsonp(this.$apis("liveUrl"),t,function(i){0==i.data.data.result.length?e.$router.push({path:"/person?userid="+t.roomnumber,replace:!0}):(e.info=i.data.data.result,e.liveUrl=i.data.data.result.url,e.aliPlayer())})},deBk:function(){var e=this.$tool.getByC("video-js")[0];e.style.background="none",e.style.height="100vh";var t=this.$tool.getByItem("video")[0];t.style.objectFit="fill";var i=this.$tool.getByC("vjs-big-play-button")[0];i.style.zIndex="20"},aliPlayer:function(){var e=this,t=e.$refs.videoPlayer.player;t.src(e.liveUrl),this.ready=!0,this.deBk()}},mounted:function(){this.$emit("showOhidden",!1,3),this.$tool.setTitle("视频播放"),console.log("视频播放页面")}},l=n,d=(i("dd7f"),i("2877")),u=Object(d["a"])(l,a,o,!1,null,"3ec92706",null);t["default"]=u.exports},6449:function(e,t,i){},dd7f:function(e,t,i){"use strict";var a=i("6449"),o=i.n(a);o.a}}]);
//# sourceMappingURL=chunk-22b059ba.f2a1598a.js.map