{"remainingRequest":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\cssc-fvue\\src\\components\\common\\HtVideoPlayer.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\cssc-fvue\\src\\components\\common\\HtVideoPlayer.vue","mtime":1667804638680},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\cssc-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\cssc-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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n/* eslint-disable */\nimport { Message } from \"element-ui\";\nimport req from \"@/request.js\";\nexport default {\n name: \"TestTwo\",\n props: [\"fileRow\"],\n data: function data() {\n return {\n videoDialogVisible: false,\n videoSrc: ''\n };\n },\n // computed: {\n // downloadUrl: function() {\n // return window.context.portal+'/file/v1/downloadFile?fileId=' + this.fileRow.id;\n // }\n // },\n watch: {\n 'fileRow.id': function fileRowId(newVal, oldVal) {\n if (newVal) {\n var _this = this;\n\n req.get(window.context.portal + '/file/onlinePreviewController/v1/getFileById_' + newVal, 'arraybuffer').then(function (response) {\n _this.videoSrc = window.URL.createObjectURL(new Blob([response.data], {\n type: 'video/mp4'\n }));\n });\n }\n }\n },\n methods: {\n initVideo: function initVideo() {\n //初始化视频方法\n var myPlayer = this.$video(myVideo, {\n //确定播放器是否具有用户可以与之交互的控件。没有控件,启动视频播放的唯一方法是使用autoplay属性或通过Player API。\n controls: true,\n //自动播放属性,muted:静音播放\n autoplay: \"muted\",\n //建议浏览器是否应在