diff options
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 7a64406e6..7c97f0964 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -211,6 +211,12 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
211 | return Account.GET_ACCOUNT_AVATAR_URL(this.video.account) | 211 | return Account.GET_ACCOUNT_AVATAR_URL(this.video.account) |
212 | } | 212 | } |
213 | 213 | ||
214 | getVideoPoster () { | ||
215 | if (!this.video) return '' | ||
216 | |||
217 | return this.video.previewUrl | ||
218 | } | ||
219 | |||
214 | getVideoTags () { | 220 | getVideoTags () { |
215 | if (!this.video || Array.isArray(this.video.tags) === false) return [] | 221 | if (!this.video || Array.isArray(this.video.tags) === false) return [] |
216 | 222 | ||