1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-29 02:14:36 +02:00

Update MkVideoContol.vue

This commit is contained in:
syuilo
2026-07-11 18:26:50 +09:00
parent 9db840c17b
commit 491eba6772

View File

@@ -113,7 +113,7 @@ function showMenu(ev: PointerEvent) {
// MediaControl: Common State
const oncePlayed = ref(false);
const isReady = ref(false);
const isPlaying = ref(false);
const isPlaying = ref(true);
const isActuallyPlaying = ref(false);
const elapsedTimeMs = ref(0);
const durationMs = ref(0);
@@ -256,21 +256,6 @@ onActivated(() => {
display: flex;
align-items: center;
gap: 4px;
.controlButton {
padding: 6px;
border-radius: calc(var(--MI-radius) / 2);
transition: background-color .15s ease;
font-size: 1.05rem;
&:hover {
background-color: var(--MI_THEME-accent);
}
&:focus-visible {
outline: none;
}
}
}
.controlsLeft {
@@ -286,16 +271,22 @@ onActivated(() => {
justify-content: center;
}
.controlsTime {
font-size: 90%;
.controlButton {
padding: 6px;
border-radius: 4px;
&:hover {
background-color: var(--MI_THEME-accentedBg);
color: var(--MI_THEME-accent);
}
&:focus-visible {
outline: none;
}
}
.controlsVolume {
grid-area: volume;
.volumeSeekbar {
display: none;
}
.controlsTime {
font-size: 85%;
}
.seekbar {