diff options
Diffstat (limited to 'client/src/app/videos/shared')
-rw-r--r-- | client/src/app/videos/shared/video.model.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/videos/shared/video.model.ts b/client/src/app/videos/shared/video.model.ts index 9ed6a0641..f0556343f 100644 --- a/client/src/app/videos/shared/video.model.ts +++ b/client/src/app/videos/shared/video.model.ts | |||
@@ -23,6 +23,8 @@ export class Video implements VideoServerModel { | |||
23 | tags: string[] | 23 | tags: string[] |
24 | thumbnailPath: string | 24 | thumbnailPath: string |
25 | thumbnailUrl: string | 25 | thumbnailUrl: string |
26 | previewPath: string | ||
27 | previewUrl: string | ||
26 | views: number | 28 | views: number |
27 | likes: number | 29 | likes: number |
28 | dislikes: number | 30 | dislikes: number |
@@ -60,6 +62,7 @@ export class Video implements VideoServerModel { | |||
60 | podHost: string, | 62 | podHost: string, |
61 | tags: string[], | 63 | tags: string[], |
62 | thumbnailPath: string, | 64 | thumbnailPath: string, |
65 | previewPath: string, | ||
63 | views: number, | 66 | views: number, |
64 | likes: number, | 67 | likes: number, |
65 | dislikes: number, | 68 | dislikes: number, |
@@ -85,6 +88,8 @@ export class Video implements VideoServerModel { | |||
85 | this.tags = hash.tags | 88 | this.tags = hash.tags |
86 | this.thumbnailPath = hash.thumbnailPath | 89 | this.thumbnailPath = hash.thumbnailPath |
87 | this.thumbnailUrl = API_URL + hash.thumbnailPath | 90 | this.thumbnailUrl = API_URL + hash.thumbnailPath |
91 | this.previewPath = hash.previewPath | ||
92 | this.previewUrl = API_URL + hash.previewPath | ||
88 | this.views = hash.views | 93 | this.views = hash.views |
89 | this.likes = hash.likes | 94 | this.likes = hash.likes |
90 | this.dislikes = hash.dislikes | 95 | this.dislikes = hash.dislikes |