diff --git a/src/components/VideoItem.astro b/src/components/VideoItem.astro index 342b171..06db5c2 100644 --- a/src/components/VideoItem.astro +++ b/src/components/VideoItem.astro @@ -23,7 +23,7 @@ const DateFormat = new Date(UploadDate * 1000).toLocaleDateString() // Format Video Length // Thanks to "mingjunlu" for helping out with the time format -const LengthFormat = new Date(Length * 1000).toISOString().slice(14, 19).split(':').map(Number).join(':') +const LengthFormat = null // Format Views const ViewsConversion = Intl.NumberFormat('en', { notation: 'compact'}) @@ -32,7 +32,7 @@ const ViewsFormat = ViewsConversion.format(Views)
- +

{LengthFormat}

@@ -53,7 +53,7 @@ const ViewsFormat = ViewsConversion.format(Views) width: 100%; border-radius: 6px; aspect-ratio: 16/9; - object-fit: contain; + object-fit: cover; } p#vi-length { margin: -41px 0px 0px 0px;