From a2d503b28418903b0873861ab23487fdaab4989b Mon Sep 17 00:00:00 2001 From: Aicirou <2643053021@qq.com> Date: Fri, 10 Jul 2020 00:33:53 +0800 Subject: [PATCH] :art:Optimize video player --- src/main.js | 2 -- src/views/page/GoVideo.vue | 64 +++++++++++++++++++++++--------------- 2 files changed, 39 insertions(+), 27 deletions(-) diff --git a/src/main.js b/src/main.js index 921ac22..40becfd 100644 --- a/src/main.js +++ b/src/main.js @@ -13,7 +13,6 @@ import store from "@/store/index"; import Clipboard from "@/plugin/clipboard"; import VueLazyload from "vue-lazyload"; import Viewer from "v-viewer"; -import VuePlyr from "vue-plyr"; import cdnpath from "./libs/util.cdn"; // 组件 import "@/components"; @@ -32,7 +31,6 @@ Vue.use(VueLazyload, { loading: cdnpath("images/airplane.gif"), }); Vue.use(Viewer); -Vue.use(VuePlyr); new Vue({ router, diff --git a/src/views/page/GoVideo.vue b/src/views/page/GoVideo.vue index a18688c..1a77fcd 100644 --- a/src/views/page/GoVideo.vue +++ b/src/views/page/GoVideo.vue @@ -51,7 +51,7 @@