aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/shared')
-rw-r--r--client/src/app/videos/shared/video.model.ts5
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 b315e59b1..51c5319ea 100644
--- a/client/src/app/videos/shared/video.model.ts
+++ b/client/src/app/videos/shared/video.model.ts
@@ -26,6 +26,8 @@ export class Video implements VideoServerModel {
26 thumbnailUrl: string 26 thumbnailUrl: string
27 previewPath: string 27 previewPath: string
28 previewUrl: string 28 previewUrl: string
29 embedPath: string
30 embedUrl: string
29 views: number 31 views: number
30 likes: number 32 likes: number
31 dislikes: number 33 dislikes: number
@@ -64,6 +66,7 @@ export class Video implements VideoServerModel {
64 tags: string[], 66 tags: string[],
65 thumbnailPath: string, 67 thumbnailPath: string,
66 previewPath: string, 68 previewPath: string,
69 embedPath: string,
67 views: number, 70 views: number,
68 likes: number, 71 likes: number,
69 dislikes: number, 72 dislikes: number,
@@ -91,6 +94,8 @@ export class Video implements VideoServerModel {
91 this.thumbnailUrl = API_URL + hash.thumbnailPath 94 this.thumbnailUrl = API_URL + hash.thumbnailPath
92 this.previewPath = hash.previewPath 95 this.previewPath = hash.previewPath
93 this.previewUrl = API_URL + hash.previewPath 96 this.previewUrl = API_URL + hash.previewPath
97 this.embedPath = hash.embedPath
98 this.embedUrl = API_URL + hash.embedPath
94 this.views = hash.views 99 this.views = hash.views
95 this.likes = hash.likes 100 this.likes = hash.likes
96 this.dislikes = hash.dislikes 101 this.dislikes = hash.dislikes