From 774bf6a55e12b68597b99d725c637aff1ea4d4d9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Oct 2023 14:01:40 +0900 Subject: [PATCH] enhance(frontend): make default volume of video 30% --- CHANGELOG.md | 1 + .../frontend/src/components/MkMediaBanner.vue | 15 ++++++--------- packages/frontend/src/components/MkMediaVideo.vue | 11 ++++++++++- packages/frontend/src/scripts/sound.ts | 4 ---- 4 files changed, 17 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e72777d232..ab09b9a760 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ ### Client - Enhance: 二要素認証のバックアップコード一覧をテキストファイルでダウンロード可能に +- Enhance: 動画再生時のデフォルトボリュームを30%に - Fix: リアクションしたユーザ一覧のUIが稀に左上に残ってしまう不具合を修正 ### Server diff --git a/packages/frontend/src/components/MkMediaBanner.vue b/packages/frontend/src/components/MkMediaBanner.vue index 10b2ac9ece..69da1a7466 100644 --- a/packages/frontend/src/components/MkMediaBanner.vue +++ b/packages/frontend/src/components/MkMediaBanner.vue @@ -17,7 +17,6 @@ SPDX-License-Identifier: AGPL-3.0-only :title="media.name" controls preload="metadata" - @volumechange="volumechange" /> diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index 751b5f7570..43c64b4c85 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -14,6 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only