From d1992b93f0f4a4408f803d6320cd26a713e22d5b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 4 Nov 2016 16:04:50 +0100 Subject: [PATCH] Client: add more informations to watch video view --- client/src/app/videos/shared/video.model.ts | 1 + client/src/app/videos/shared/video.service.ts | 1 + .../video-watch/video-watch.component.html | 83 +++++++++++++++---- .../video-watch/video-watch.component.scss | 53 ++++++++++++ .../video-watch/video-watch.component.ts | 46 +++++----- 5 files changed, 145 insertions(+), 39 deletions(-) diff --git a/client/src/app/videos/shared/video.model.ts b/client/src/app/videos/shared/video.model.ts index 65417f751..873c83ff1 100644 --- a/client/src/app/videos/shared/video.model.ts +++ b/client/src/app/videos/shared/video.model.ts @@ -21,6 +21,7 @@ export class Video { port = ':' + port; } + return author + '@' + host + port; } diff --git a/client/src/app/videos/shared/video.service.ts b/client/src/app/videos/shared/video.service.ts index ad8557533..b1f688095 100644 --- a/client/src/app/videos/shared/video.service.ts +++ b/client/src/app/videos/shared/video.service.ts @@ -22,6 +22,7 @@ export class VideoService { getVideo(id: string): Observable