{"remainingRequest":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\player.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\views\\player.vue","mtime":1698044803563},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport EasyPlayer from '@easydarwin/easyplayer';\nvar headersUrlencoded = {\n 'Content-type': 'application/x-www-form-urlencoded'\n};\nexport default {\n name: 'easyPlayer',\n components: {\n EasyPlayer: EasyPlayer\n },\n props: {},\n data: function data() {\n return {\n player: {\n name: 'easyPlayer',\n url: '',\n videoTitle: ''\n },\n muted: true,\n url: ''\n };\n },\n methods: {\n getUrlAndPlay: function getUrlAndPlay(url, code, title) {\n var _this = this;\n\n this.player.url = url; // this.play()\n\n return;\n var data = this.qs.stringify({\n code: code,\n scheme: 'HLS'\n });\n var param = {\n url: '${portal}/biz/catalog/base/point/previewURLs',\n data: data,\n method: 'post',\n headers: headersUrlencoded\n };\n this.$http.request(param).then(function (resp) {\n if (resp.data && resp.data.value) {\n var value = JSON.parse(resp.data.value);\n _this.url = value.url;\n _this.player.videoTitle = title;\n _this.player.url = _this.url; // this.play(this.player)\n }\n }, function (error) {\n console.log('获取播放地址', error);\n\n _this.$message({\n message: '获取播放地址失败,请重试!',\n type: 'error'\n });\n });\n },\n play: function play(player) {\n var _this2 = this;\n\n this.$nextTick(function () {\n console.log(_this2.$refs);\n\n _this2.$refs.easyPlayer.play();\n });\n }\n }\n};",null]}