From d38309c345e2619bdfcc618d723d742fd7d5e655 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 12 Jul 2017 12:19:39 +0200 Subject: Set correctly preview image for open graph --- client/src/app/videos/video-watch/video-watch.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src') 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 104ba0db6..05a2c296c 100644 --- a/client/src/app/videos/video-watch/video-watch.component.ts +++ b/client/src/app/videos/video-watch/video-watch.component.ts @@ -321,7 +321,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { this.metaService.setTag('og:description', this.video.description) this.metaService.setTag('description', this.video.description) - this.metaService.setTag('og:image', this.video.thumbnailPath) + this.metaService.setTag('og:image', this.video.previewPath) this.metaService.setTag('og:duration', this.video.duration.toString()) -- cgit v1.2.3