Skip to content

Commit

Permalink
Hide timeline for live videos
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt committed Dec 20, 2023
1 parent aecefc0 commit 7212989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/typings/paella-core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ declare module "paella-core" {
duration: number;
title?: string;
preview?: string | null;
visibleTimeLine?: boolean;
// TODO: `related`
};

Expand Down
1 change: 1 addition & 0 deletions frontend/src/ui/player/Paella.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const PaellaPlayer: React.FC<PaellaPlayerProps> = ({
title,
duration: fixedDuration,
preview: previewImage,
visibleTimeLine: !isLive,
},
streams: Object.entries(tracksByKind).map(([key, tracks]) => ({
content: key,
Expand Down

0 comments on commit 7212989

Please sign in to comment.