From 57f5df2d22ff5dc4989b5cc2d8522bb6a0a6eee0 Mon Sep 17 00:00:00 2001
From: Rox Squires <squires1993@gmail.com>
Date: Sat, 4 Feb 2023 00:00:16 +0000
Subject: 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 <Syuilotan@yahoo.co.jp>
---
 packages/frontend/src/components/MkMediaList.vue | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'packages/frontend/src/components/MkMediaList.vue')

diff --git a/packages/frontend/src/components/MkMediaList.vue b/packages/frontend/src/components/MkMediaList.vue
index f263ae0ce9..58bec80f2a 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');
 
-- 
cgit v1.2.3-freya

