From 43caa685942601678aefe155de983a5466dcaf75 Mon Sep 17 00:00:00 2001
From: syuilo <4439005+syuilo@users.noreply.github.com>
Date: Sat, 11 Jul 2026 17:11:01 +0900
Subject: [PATCH] Update MkVideoContol.vue
---
.../frontend/src/components/MkVideoContol.vue | 29 -------------------
1 file changed, 29 deletions(-)
diff --git a/packages/frontend/src/components/MkVideoContol.vue b/packages/frontend/src/components/MkVideoContol.vue
index 776377c949..59bf57c67e 100644
--- a/packages/frontend/src/components/MkVideoContol.vue
+++ b/packages/frontend/src/components/MkVideoContol.vue
@@ -34,10 +34,6 @@ SPDX-License-Identifier: AGPL-3.0-only
-
@@ -48,7 +44,6 @@ import type { MenuItem } from '@/types/menu.js';
import { hms } from '@/filters/hms.js';
import { i18n } from '@/i18n.js';
import * as os from '@/os.js';
-import { exitFullscreen, requestFullscreen } from '@/utility/fullscreen.js';
import hasAudio from '@/utility/media-has-audio.js';
import MkMediaRange from '@/components/MkMediaRange.vue';
import { prefer } from '@/preferences.js';
@@ -115,11 +110,6 @@ function showMenu(ev: PointerEvent) {
});
}
-// MediaControl: Video State
-const isHoverring = ref(false);
-const isFullscreen = ref(false);
-let controlStateTimer: number | null = null;
-
// MediaControl: Common State
const oncePlayed = ref(false);
const isReady = ref(false);
@@ -156,25 +146,6 @@ function togglePlayPause() {
}
}
-function toggleFullscreen() {
- if (playerEl.value == null) return;
- if (isFullscreen.value) {
- exitFullscreen({
- videoEl: videoEl,
- });
- isFullscreen.value = false;
- } else {
- requestFullscreen({
- videoEl: videoEl,
- playerEl: playerEl.value,
- options: {
- navigationUI: 'hide',
- },
- });
- isFullscreen.value = true;
- }
-}
-
function togglePictureInPicture() {
if (window.document.pictureInPictureElement) {
window.document.exitPictureInPicture();