From ea3631dadba94ae4a7070af11f572d52e314a48a 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 adc820617..2b0485431 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 7382e953a..fc568d9be 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 92e9e9d6f..6936ec7c7 100644 --- a/packages/client/src/components/MkMediaVideo.vue +++ b/packages/client/src/components/MkMediaVideo.vue @@ -6,12 +6,29 @@
- +