diff options
| author | Rox Squires <squires1993@gmail.com> | 2023-02-04 00:00:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-04 09:00:16 +0900 |
| commit | 57f5df2d22ff5dc4989b5cc2d8522bb6a0a6eee0 (patch) | |
| tree | ae711106ad14893274acd7888160486f42b9dae8 | |
| parent | fix(client): オートコンプリートでUnicode絵文字がカスタム絵... (diff) | |
| download | sharkey-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.vue | 2 | ||||
| -rw-r--r-- | 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 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 |