diff --git a/client/src/pages/LivePage.tsx b/client/src/pages/LivePage.tsx index ed11ac5..fd30e9e 100644 --- a/client/src/pages/LivePage.tsx +++ b/client/src/pages/LivePage.tsx @@ -484,7 +484,7 @@ export default function LivePage() {

Empfohlene Videos

-
+
{videos.slice(0, 10).map((video: any) => (
-
+
{video.title} -
+
{video.duration ? Math.floor(video.duration / 60) + ':' + String(video.duration % 60).padStart(2, '0') : '0:00'}
-
-

+

{video.title}

-
-
{video.views ? (video.views >= 1000 ? Math.floor(video.views / 1000) + 'K' : video.views) : '0'} views • {video.createdAt ? new Date(video.createdAt).toLocaleDateString('de-DE') : 'Unknown date'}
+
+
{video.views ? (video.views >= 1000 ? Math.floor(video.views / 1000) + 'K' : video.views) : '0'} Aufrufe
+
{video.createdAt ? new Date(video.createdAt).toLocaleDateString('de-DE') : 'Unbekannt'}
diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index d3b70f9..e0e0324 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -782,7 +782,7 @@ export default function VideoPage() {

Empfohlene Videos

-
+
{recommendedVideos.slice(0, 10).map((video) => (
-
+
{video.title} -
+
{formatDuration(video.duration)}
-
-

+

{video.title}

-
-
{formatViews(video.views)} views • {formatDate(video.createdAt)}
+
+
{formatViews(video.views)} Aufrufe
+
{formatDate(video.createdAt)}