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.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/videos/shared/video.model.ts b/client/src/app/videos/shared/video.model.ts
index 614403d79..65417f751 100644
--- a/client/src/app/videos/shared/video.model.ts
+++ b/client/src/app/videos/shared/video.model.ts
@@ -9,6 +9,7 @@ export class Video {
9 magnetUri: string; 9 magnetUri: string;
10 name: string; 10 name: string;
11 podUrl: string; 11 podUrl: string;
12 tags: string[];
12 thumbnailPath: string; 13 thumbnailPath: string;
13 14
14 private static createByString(author: string, podUrl: string) { 15 private static createByString(author: string, podUrl: string) {
@@ -42,6 +43,7 @@ export class Video {
42 magnetUri: string, 43 magnetUri: string,
43 name: string, 44 name: string,
44 podUrl: string, 45 podUrl: string,
46 tags: string[],
45 thumbnailPath: string 47 thumbnailPath: string
46 }) { 48 }) {
47 this.author = hash.author; 49 this.author = hash.author;
@@ -53,6 +55,7 @@ export class Video {
53 this.magnetUri = hash.magnetUri; 55 this.magnetUri = hash.magnetUri;
54 this.name = hash.name; 56 this.name = hash.name;
55 this.podUrl = hash.podUrl; 57 this.podUrl = hash.podUrl;
58 this.tags = hash.tags;
56 this.thumbnailPath = hash.thumbnailPath; 59 this.thumbnailPath = hash.thumbnailPath;
57 60
58 this.by = Video.createByString(hash.author, hash.podUrl); 61 this.by = Video.createByString(hash.author, hash.podUrl);