Skip to content

A self-hosted media server and file management system

chore: clear skip intro debugging

aminnausin2959c6ee73f2
diff --git a/resources/js/components/video/PlayerSkipIntro.vue b/resources/js/components/video/PlayerSkipIntro.vue
index 2241998e..784a4825 100644
--- a/resources/js/components/video/PlayerSkipIntro.vue
+++ b/resources/js/components/video/PlayerSkipIntro.vue
@@ -32,8 +32,6 @@ const intro = computed(() => {
const start = introStart.value;
const end = start + introDuration.value;
- console.log(current, start, end, introDuration.value, Math.max(end - current, 0));
-
return {
isActive: current >= start && current < end,
timeRemaining: Math.max(end - current, 0),
@@ -41,13 +39,6 @@ const intro = computed(() => {
});
</script>
<template>
- <div class="text-foreground-0 pointer-events-auto absolute top-2 left-2 flex flex-col gap-2" style="z-index: 10">
- <!-- <FormNumberField :field="{ name: 'introStart', type: 'number', min: 0, default: 0 }" v-model="introStart" /> -->
- <!-- <FormNumberField :field="{ name: 'introDuration', type: 'number', min: 0, default: 90 }" v-model="introDuration" /> -->
- <p class="bg-surface-0 text-foreground-0 p-1">{{ introStart === undefined ? 'und' : (introStart ?? 'null') }}</p>
- <p class="bg-surface-0 text-foreground-0 p-1">{{ introDuration }}</p>
- <p class="bg-surface-0 text-foreground-0 p-1">{{ intro.timeRemaining }}</p>
- </div>
<Transition enter-from-class="opacity-0" enter-to-class="opacity-100" leave-from-class="opacity-100" leave-to-class="opacity-0">
<div
:class="['absolute bottom-22 transition-opacity duration-200 ease-in-out', isNormalView ? 'left-2' : 'left-4']"