(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{289:function(t,e,o){var content=o(317);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(18).default)("5c490fba",content,!0,{sourceMap:!1})},316:function(t,e,o){"use strict";o(289)},317:function(t,e,o){var n=o(17)(!1);n.push([t.i,".videoplayer-wrap[data-v-f56cb878]{width:100%;min-height:640px;background:url(/images/vbg.png) center center #000}.video-attr[data-v-f56cb878]{background:#202026;padding:20px 30px}.video-attr h1[data-v-f56cb878]{color:#fff;font-weight:normal;font-size:1.5rem;margin-bottom:.5em}.video-attr span[data-v-f56cb878]{color:#adadad}@media(max-width: 768px){.main-wrap[data-v-f56cb878]{margin-top:0}.videoplayer-wrap[data-v-f56cb878]{width:100%;min-height:auto}.video-attr[data-v-f56cb878]{padding:10px 15px}.video-attr h1[data-v-f56cb878]{font-size:1.2rem;margin-bottom:.3em}.m-fw[data-v-f56cb878]{padding:0}}",""]),t.exports=n},339:function(t,e,o){"use strict";o.r(e);var n=o(10),r=(o(47),o(171),{components:{},asyncData:function(t){return Object(n.a)(regeneratorRuntime.mark((function e(){var o,n,r,d,c,l,v,video;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.$axios,n=t.req,r=t.store,d=t.params,t.route,c=t.error,l="",n&&(l=n.headers["x-real-ip"]||(null===(v=n.headers["x-forwarded-for"])||void 0===v?void 0:v.split(",")[0].trim())||n.connection.remoteAddress),0!=r.state.links.length){e.next=6;break}return e.next=6,r.dispatch("get_links");case 6:return e.next=8,o.$get("/video/".concat(d.id,"/?remote_address=").concat(l)).then((function(t){video=t})).catch((function(t){t.response&&404===t.response.status?c({statusCode:404,message:"内容不存在"}):c({statusCode:503,message:"维护中"})}));case 8:return e.abrupt("return",{video:video});case 9:case"end":return e.stop()}}),e)})))()},data:function(){return{title:"贵州网络广播电视台",meta:[{hid:"description",name:"description",content:"贵视网为用户提供及时、全面的贵州广播电视台各类资讯和视频/音频在线点播及直播服务,网站同时还建设有内容覆盖国际新闻、国内新闻、贵州省内新闻等多个方面的专业新闻频道和播客、博客、论坛等自由互动交流空间。"},{name:"keywords",content:"贵州网络广播电视台,贵州广播电视台,贵州卫视,国际新闻,国内新闻,贵州省内新闻,贵州广播电视台新闻,贵州拍客网,贵州卫视视频点播/直播,贵州视协,贵视网,动静,动静APP,动静新闻,动静客户端,动静新闻客户端"}],video:{},showVideo:!1,player:null,fillVideo:"contain"}},head:function(){return{title:this.video?this.video.title:this.title,meta:[{hid:"description",name:"description",content:this.video.description?this.video.description:this.video.title}]}},created:function(){this.$store.commit("set_activeMenu","videos"),this.showVideo=!0},mounted:function(){this.$store.state.ads.length||this.$store.dispatch("get_ads");var t=this.changeFillVideo,e=videojs.getComponent("Button"),o=videojs.extend(e,{constructor:function(){e.apply(this,arguments)},handleClick:function(){t()},buildCSSClass:function(){return"vjs-icon-circle-outline"}});videojs.registerComponent("fillButton",o);var n={controls:"control",preload:"false",width:"100%",sources:[{src:this.video.stream_url}],poster:this.video.image};this.showVideo&&(this.player=videojs(document.getElementById("vPlayer"),n),this.player.getChild("controlBar").addChild("fillButton"))},beforeDestroy:function(){var t=document.getElementById("vPlayer");t&&videojs(t).dispose()},methods:{changeFillVideo:function(){this.fillVideo="fill"==this.fillVideo?"contain":"fill"}}}),d=(o(316),o(9)),component=Object(d.a)(r,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"main-wrap"},[o("div",{staticClass:"container main-row m-fw clearfix"},[o("div",{staticClass:"videoplayer-wrap"},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.showVideo,expression:"showVideo"}]},[o("video",{staticClass:"video-js vjs-default-skin vjs-16-9",style:{objectFit:t.fillVideo},attrs:{id:"vPlayer"}})])]),t._v(" "),o("div",{staticClass:"video-attr"},[o("h1",[t._v(t._s(t.video.title))]),t._v(" "),o("span",{staticClass:"video-editor"},[t._v(t._s(t.video.author)+" | ")]),t._v(" "),o("span",{staticClass:"video-pub_date"},[t._v(t._s(t._f("formatDate")(new Date(1e3*t.video.pub_date),"yyyy-MM-dd hh:mm")))])])]),t._v(" "),t.$store.state.ads.al5?o("div",{staticClass:"container main-row al5"},t._l(t.$store.state.ads.al5,(function(t,e){return o("div",{key:e},[o("a",{attrs:{href:t.link}},[o("img",{attrs:{src:t.image,alt:t.title}})])])})),0):t._e()])}),[],!1,null,"f56cb878",null);e.default=component.exports}}]);