diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-12 12:19:39 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-12 12:19:39 +0200 |
commit | d38309c345e2619bdfcc618d723d742fd7d5e655 (patch) | |
tree | 567693ee8fe9dac21f43a2b0a7b007d8dedc5450 /client/src/app/videos | |
parent | 43f61d2635113001c3d19e3299d8700a00d47e48 (diff) | |
download | PeerTube-d38309c345e2619bdfcc618d723d742fd7d5e655.tar.gz PeerTube-d38309c345e2619bdfcc618d723d742fd7d5e655.tar.zst PeerTube-d38309c345e2619bdfcc618d723d742fd7d5e655.zip |
Set correctly preview image for open graph
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.ts | 2 |
1 files changed, 1 insertions, 1 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 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 { | |||
321 | this.metaService.setTag('og:description', this.video.description) | 321 | this.metaService.setTag('og:description', this.video.description) |
322 | this.metaService.setTag('description', this.video.description) | 322 | this.metaService.setTag('description', this.video.description) |
323 | 323 | ||
324 | this.metaService.setTag('og:image', this.video.thumbnailPath) | 324 | this.metaService.setTag('og:image', this.video.previewPath) |
325 | 325 | ||
326 | this.metaService.setTag('og:duration', this.video.duration.toString()) | 326 | this.metaService.setTag('og:duration', this.video.duration.toString()) |
327 | 327 | ||