Skip to content

Commit

Permalink
ひどいtypo修正
Browse files Browse the repository at this point in the history
うごいてくれー
  • Loading branch information
DA-TENSHI committed Nov 13, 2024
1 parent f05b96e commit 6d1f8b1
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions packages/frontend/src/components/MkMediaVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -508,49 +508,6 @@ const {
});
</script>

watch(volume, (to) => {
if (videoEl.value) videoEl.value.volume = to;
});

watch(speed, (to) => {
if (videoEl.value) videoEl.value.playbackRate = to;
});

watch(loop, (to) => {
if (videoEl.value) videoEl.value.loop = to;
});

watch(hideRef, (to) => {
if (to && isFullscreen.value) {
document.exitFullscreen();
isFullscreen.value = false;
}
});

onMounted(() => {
init();
});

onActivated(() => {
init();
});

onDeactivated(() => {
isReady.value = false;
isPlaying.value = false;
isActuallyPlaying.value = false;
elapsedTimeMs.value = 0;
durationMs.value = 0;
bufferedEnd.value = 0;
stopVideoElWatch();
onceInit = false;
if (mediaTickFrameId) {
window.cancelAnimationFrame(mediaTickFrameId);
mediaTickFrameId = null;
}
});
</script>

<style lang="scss" module>
.cq {
container: mediaVideo / inline-size;
Expand Down

0 comments on commit 6d1f8b1

Please sign in to comment.