summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRox Squires <squires1993@gmail.com>2023-02-04 00:00:16 +0000
committerGitHub <noreply@github.com>2023-02-04 09:00:16 +0900
commit57f5df2d22ff5dc4989b5cc2d8522bb6a0a6eee0 (patch)
treeae711106ad14893274acd7888160486f42b9dae8
parentfix(client): オートコンプリートでUnicode絵文字がカスタム絵... (diff)
downloadsharkey-57f5df2d22ff5dc4989b5cc2d8522bb6a0a6eee0.tar.gz
sharkey-57f5df2d22ff5dc4989b5cc2d8522bb6a0a6eee0.tar.bz2
sharkey-57f5df2d22ff5dc4989b5cc2d8522bb6a0a6eee0.zip
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>
-rw-r--r--packages/frontend/src/components/MkMediaList.vue2
-rw-r--r--packages/frontend/src/components/MkMediaVideo.vue2
2 files changed, 2 insertions, 2 deletions
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');
diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue
index 5a2da050bb..2c24c16f57 100644
--- a/packages/frontend/src/components/MkMediaVideo.vue
+++ b/packages/frontend/src/components/MkMediaVideo.vue
@@ -9,8 +9,6 @@
<vue-plyr>
<video
controls
- crossorigin
- playsinline
:data-poster="video.thumbnailUrl"
>
<source