From a262e1353f3bd8a722916ccafd5f9ff44bb3d9d5 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 21 Sep 2022 13:10:47 -0700 Subject: [PATCH] Add download button to Plyr (co-authored by @nullobsi) --- package.json | 2 +- .../client/src/components/MkMediaBanner.vue | 29 +++++++++++++++---- .../client/src/components/MkMediaVideo.vue | 25 +++++++++++++--- .../messaging/messaging-room.message.vue | 8 ++--- 4 files changed, 50 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index adc820617c..2b04854317 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "12.119.0-calc.1-rc.8", + "version": "12.119.0-calc.1-rc.9", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/MkMediaBanner.vue b/packages/client/src/components/MkMediaBanner.vue index 7382e953a1..fc568d9be2 100644 --- a/packages/client/src/components/MkMediaBanner.vue +++ b/packages/client/src/components/MkMediaBanner.vue @@ -6,17 +6,36 @@ {{ $ts.clickToShow }}
- -
- import { onMounted } from 'vue'; -import * as misskey from 'misskey-js'; import VuePlyr from 'vue-plyr'; +import type * as misskey from 'misskey-js'; import { ColdDeviceStorage } from '@/store'; import 'vue-plyr/dist/vue-plyr.css'; diff --git a/packages/client/src/components/MkMediaVideo.vue b/packages/client/src/components/MkMediaVideo.vue index 92e9e9d6f1..6936ec7c7a 100644 --- a/packages/client/src/components/MkMediaVideo.vue +++ b/packages/client/src/components/MkMediaVideo.vue @@ -6,12 +6,29 @@
- +