From 2d73a131a4892b4173f36163495834f4a22cce71 Mon Sep 17 00:00:00 2001
From: hyf-github-user <1348977728@qq.com>
Date: Sun, 18 Aug 2024 14:05:45 +0800
Subject: [PATCH 1/5] add luma video-play
---
package.json | 1 +
src/components/luma/VideoPlayer.vue | 40 ++++++
src/components/luma/task/Preview.vue | 58 +++++---
src/i18n/zh-CN/common.json | 4 +
src/i18n/zh-CN/luma.json | 8 +-
yarn.lock | 204 ++++++++++++++++++++++++++-
6 files changed, 290 insertions(+), 25 deletions(-)
create mode 100644 src/components/luma/VideoPlayer.vue
diff --git a/package.json b/package.json
index 65b17ecc..82ef11e0 100644
--- a/package.json
+++ b/package.json
@@ -41,6 +41,7 @@
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@fortawesome/vue-fontawesome": "^3.0.2",
"@icon-park/vue-next": "^1.3.6",
+ "@skjnldsv/vue-plyr": "^7.5.0",
"axios": "^1.6.0",
"codemirror": "^6.0.1",
"copy-to-clipboard": "^3.3.3",
diff --git a/src/components/luma/VideoPlayer.vue b/src/components/luma/VideoPlayer.vue
new file mode 100644
index 00000000..c0debff6
--- /dev/null
+++ b/src/components/luma/VideoPlayer.vue
@@ -0,0 +1,40 @@
+
+
@@ -95,11 +85,11 @@
+
+
diff --git a/src/components/luma/task/Preview.vue b/src/components/luma/task/Preview.vue
index b439f591..94ecdd12 100644
--- a/src/components/luma/task/Preview.vue
+++ b/src/components/luma/task/Preview.vue
@@ -1,7 +1,7 @@