From 4dd61edc998aa722ca2d5b7275f8dc1bdf0bd5fb Mon Sep 17 00:00:00 2001 From: sakuya <81883387@qq.com> Date: Mon, 29 Nov 2021 19:24:05 +0800 Subject: [PATCH] =?UTF-8?q?:tada:=20=E6=96=B0=E5=A2=9E=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=99=A8=E7=BB=84=E4=BB=B6=20scVideo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- src/components/scVideo/index.vue | 123 +++++++++++++++++++++++++++++++ src/views/vab/video.vue | 100 +++++++++++++++++++++++++ vue.config.js | 4 + 4 files changed, 230 insertions(+), 1 deletion(-) create mode 100644 src/components/scVideo/index.vue create mode 100644 src/views/vab/video.vue diff --git a/package.json b/package.json index 60be331a..ba2ff87a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,9 @@ "vue-i18n": "9.1.9", "vue-router": "4.0.12", "vuedraggable": "4.0.3", - "vuex": "4.0.2" + "vuex": "4.0.2", + "xgplayer": "2.31.3", + "xgplayer-hls": "2.4.32-3" }, "devDependencies": { "@vue/cli-plugin-babel": "4.5.15", diff --git a/src/components/scVideo/index.vue b/src/components/scVideo/index.vue new file mode 100644 index 00000000..74cf49a7 --- /dev/null +++ b/src/components/scVideo/index.vue @@ -0,0 +1,123 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/views/vab/video.vue b/src/views/vab/video.vue new file mode 100644 index 00000000..24248e38 --- /dev/null +++ b/src/views/vab/video.vue @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + 发送弹幕 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 581e61cc..c2a56b49 100644 --- a/vue.config.js +++ b/vue.config.js @@ -57,6 +57,10 @@ module.exports = { echarts: { name: "echarts", test: /[\\/]node_modules[\\/]echarts[\\/]/ + }, + xgplayer: { + name: "xgplayer", + test: /[\\/]node_modules[\\/]xgplayer.*[\\/]/ } } }