From 57f5df2d22ff5dc4989b5cc2d8522bb6a0a6eee0 Mon Sep 17 00:00:00 2001 From: Rox Squires Date: Sat, 4 Feb 2023 00:00:16 +0000 Subject: [PATCH] Fix | Vue-plyr CORS issue (#9790) * 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 * Fixed the pnpm-lock.yaml For some reason on the dependencies there was to instances of vue-plyr * Added MkMediaAudio * Update MkMediaList.vue * CORS checks * Update MkMediaVideo.vue * Update MkMediaVideo.vue * Fixed CORS the property made the video player use the CORS policy that stopped instance not using media caching not able to load the video from remote instance --------- Co-authored-by: syuilo --- packages/frontend/src/components/MkMediaList.vue | 2 ++ packages/frontend/src/components/MkMediaVideo.vue | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue index f263ae0ce..58bec80f2 100644 --- a/packages/frontend/src/components/MkMediaList.vue +++ b/packages/frontend/src/components/MkMediaList.vue @@ -30,6 +30,8 @@ const props = defineProps<{ raw?: boolean; }>(); +console.log(MediaList.toString) + const gallery = ref(null); const pswpZIndex = os.claimZIndex('middle'); diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index 5a2da050b..2c24c16f5 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -9,8 +9,6 @@