From d8755eed1e452d2efbfc983af0e9d228d152bf6b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 16 Oct 2017 10:05:49 +0200 Subject: Add oembed endpoint --- client/src/app/videos/shared/video.model.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/src/app/videos/shared') 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 { thumbnailUrl: string previewPath: string previewUrl: string + embedPath: string + embedUrl: string views: number likes: number dislikes: number @@ -64,6 +66,7 @@ export class Video implements VideoServerModel { tags: string[], thumbnailPath: string, previewPath: string, + embedPath: string, views: number, likes: number, dislikes: number, @@ -91,6 +94,8 @@ export class Video implements VideoServerModel { this.thumbnailUrl = API_URL + hash.thumbnailPath this.previewPath = hash.previewPath this.previewUrl = API_URL + hash.previewPath + this.embedPath = hash.embedPath + this.embedUrl = API_URL + hash.embedPath this.views = hash.views this.likes = hash.likes this.dislikes = hash.dislikes -- cgit v1.2.3