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>
This commit is contained in:
Rox Squires 2023-02-04 00:00:16 +00:00 committed by GitHub
parent b2a67ba5ca
commit 57f5df2d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -30,6 +30,8 @@ const props = defineProps<{
raw?: boolean; raw?: boolean;
}>(); }>();
console.log(MediaList.toString)
const gallery = ref(null); const gallery = ref(null);
const pswpZIndex = os.claimZIndex('middle'); const pswpZIndex = os.claimZIndex('middle');

View File

@ -9,8 +9,6 @@
<vue-plyr> <vue-plyr>
<video <video
controls controls
crossorigin
playsinline
:data-poster="video.thumbnailUrl" :data-poster="video.thumbnailUrl"
> >
<source <source