A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
fix: suspense title on invalid video
aminnausin503719996c08
diff --git a/resources/css/theme.css b/resources/css/theme.cssindex d16ce7c9..890730ca 100644--- a/resources/css/theme.css+++ b/resources/css/theme.css@@ -243,4 +243,8 @@.button-base {@apply focus:bg-surface-3 hover:bg-surface-3;}++ .suspense-rounded {+ @apply bg-foreground-2/50 my-auto animate-pulse rounded-full;+ }}diff --git a/resources/js/components/video/VideoInfoPanel.vue b/resources/js/components/video/VideoInfoPanel.vueindex 81d71e3a..311db030 100755--- a/resources/js/components/video/VideoInfoPanel.vue+++ b/resources/js/components/video/VideoInfoPanel.vue@@ -214,14 +214,10 @@ onMounted(() => {<header class="hidden justify-between gap-2 sm:flex"><h2id="mp4-title"- :class="[- 'flex-1 truncate text-xl capitalize',- { 'my-auto h-5 animate-pulse rounded-full bg-neutral-300 dark:bg-neutral-700': !stateVideo.id },- { 'h-8': stateVideo.id },- ]"+ :class="['flex-1 truncate text-xl capitalize', { 'suspense-rounded h-6': stateVideo.id < 1 }, { 'h-8': stateVideo.id > 1 }]":title="title ?? 'No file was found at this location'">- {{ !stateVideo.id ? '' : (title ?? '[File Not Found]') }}+ {{ stateVideo.id < 1 ? '' : (title ?? '[File Not Found]') }}</h2><div class="flex h-8 w-fit justify-end gap-2 select-none *:ring-inset lg:min-w-32"><ButtonText v-if="userData" aria-label="edit details" title="Edit Metadata" @click="editVideoModal.toggleModal()">