diff options
Diffstat (limited to 'client/src/app/shared/video/video.model.ts')
-rw-r--r-- | client/src/app/shared/video/video.model.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/app/shared/video/video.model.ts b/client/src/app/shared/video/video.model.ts index f56eecaeb..48d562f9c 100644 --- a/client/src/app/shared/video/video.model.ts +++ b/client/src/app/shared/video/video.model.ts | |||
@@ -45,6 +45,16 @@ export class Video implements VideoServerModel { | |||
45 | avatar: Avatar | 45 | avatar: Avatar |
46 | } | 46 | } |
47 | 47 | ||
48 | channel: { | ||
49 | id: number | ||
50 | uuid: string | ||
51 | name: string | ||
52 | displayName: string | ||
53 | url: string | ||
54 | host: string | ||
55 | avatar: Avatar | ||
56 | } | ||
57 | |||
48 | private static createDurationString (duration: number) { | 58 | private static createDurationString (duration: number) { |
49 | const hours = Math.floor(duration / 3600) | 59 | const hours = Math.floor(duration / 3600) |
50 | const minutes = Math.floor(duration % 3600 / 60) | 60 | const minutes = Math.floor(duration % 3600 / 60) |