From 4b8b29b862f834ebea0f92f74478bfe26128c3b4 Mon Sep 17 00:00:00 2001 From: Roxy Squires Date: Fri, 3 Feb 2023 08:15:25 +0000 Subject: [PATCH 1/4] enhance - Added vue-plyr as the standard video player (#9766) * Added Video player Added vue-plyr as the video play * Create node.js.yml * Delete node.js.yml * Added vue-plyr into pnpm-lock.yaml * tweak --------- Co-authored-by: syuilo --- packages/frontend/package.json | 1 + .../frontend/src/components/MkMediaVideo.vue | 29 ++++++---- pnpm-lock.yaml | 57 +++++++++++++++++++ 3 files changed, 75 insertions(+), 12 deletions(-) diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 1e0ab6ba2..40183d64c 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -62,6 +62,7 @@ "typescript": "4.9.5", "uuid": "9.0.0", "vanilla-tilt": "1.8.0", + "vue-plyr": "7.0.0", "vite": "4.1.1", "vue": "3.2.47", "vue-prism-editor": "2.0.0-alpha.2", diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index df0bf8411..5a2da050b 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -6,19 +6,20 @@
- +
@@ -26,7 +27,9 @@