(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{288:function(e,t,o){var content=o(316);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(18).default)("5b6357ce",content,!0,{sourceMap:!1})},315:function(e,t,o){"use strict";o(288)},316:function(e,t,o){var n=o(17)(!1);n.push([e.i,".videoplayer-wrap[data-v-be0b2166]{width:100%;min-height:640px;background:url(/images/vbg.png) center center #000}.video-attr[data-v-be0b2166]{background:#202026;padding:20px 30px}.video-attr h1[data-v-be0b2166]{color:#fff;font-weight:normal;font-size:1.5rem;margin-bottom:.5em}.video-attr span[data-v-be0b2166]{color:#adadad}@media(max-width: 768px){.main-wrap[data-v-be0b2166]{margin-top:0}.videoplayer-wrap[data-v-be0b2166]{width:100%;min-height:auto}.video-attr[data-v-be0b2166]{padding:10px 15px}.video-attr h1[data-v-be0b2166]{font-size:1.2rem;margin-bottom:.3em}.m-fw[data-v-be0b2166]{padding:0}}",""]),e.exports=n},338:function(e,t,o){"use strict";o.r(t);var n=o(10),r=(o(47),o(170),{components:{},asyncData:function(e){return Object(n.a)(regeneratorRuntime.mark((function t(){var o,n,r,d,c,l,video;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.$axios,n=e.req,r=e.store,d=e.params,e.route,c=e.error,l="",n&&(l=n.headers["x-forwarded-for"]?n.headers["x-forwarded-for"].split(",").pop():n.connection.remoteAddress),0!=r.state.links.length){t.next=6;break}return t.next=6,r.dispatch("get_links");case 6:return t.next=8,o.$get("/video/".concat(d.id,"/?remote_address=").concat(l)).then((function(e){video=e})).catch((function(e){404===e.response.status?c({statusCode:404,message:"内容不存在"}):c({statusCode:503,message:"维护中"})}));case 8:return t.abrupt("return",{video:video});case 9:case"end":return t.stop()}}),t)})))()},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 e=this.changeFillVideo,t=videojs.getComponent("Button"),o=videojs.extend(t,{constructor:function(){t.apply(this,arguments)},handleClick:function(){e()},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 e=document.getElementById("vPlayer");e&&videojs(e).dispose()},methods:{changeFillVideo:function(){this.fillVideo="fill"==this.fillVideo?"contain":"fill"}}}),d=(o(315),o(9)),component=Object(d.a)(r,(function(){var e=this,t=e.$createElement,o=e._self._c||t;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:e.showVideo,expression:"showVideo"}]},[o("video",{staticClass:"video-js vjs-default-skin vjs-16-9",style:{objectFit:e.fillVideo},attrs:{id:"vPlayer"}})])]),e._v(" "),o("div",{staticClass:"video-attr"},[o("h1",[e._v(e._s(e.video.title))]),e._v(" "),o("span",{staticClass:"video-editor"},[e._v(e._s(e.video.author)+" | ")]),e._v(" "),o("span",{staticClass:"video-pub_date"},[e._v(e._s(e._f("formatDate")(new Date(1e3*e.video.pub_date),"yyyy-MM-dd hh:mm")))])])]),e._v(" "),e.$store.state.ads.al5?o("div",{staticClass:"container main-row al5"},e._l(e.$store.state.ads.al5,(function(e,t){return o("div",{key:t},[o("a",{attrs:{href:e.link}},[o("img",{attrs:{src:e.image,alt:e.title}})])])})),0):e._e()])}),[],!1,null,"be0b2166",null);t.default=component.exports}}]);