aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-watch
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-03-10 10:33:36 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-03-10 10:33:36 +0100
commit758b996dc6effcab6031b32c0bd0b81f234c1a63 (patch)
tree8a40c0882bd00932bd9003077d4c0d3db456bf24 /client/src/app/videos/video-watch
parent86e83939869976e9b4dfa6dc9d3785a284bd598c (diff)
downloadPeerTube-758b996dc6effcab6031b32c0bd0b81f234c1a63.tar.gz
PeerTube-758b996dc6effcab6031b32c0bd0b81f234c1a63.tar.zst
PeerTube-758b996dc6effcab6031b32c0bd0b81f234c1a63.zip
Client: switch to @nglibs/meta
Diffstat (limited to 'client/src/app/videos/video-watch')
-rw-r--r--client/src/app/videos/video-watch/video-watch.component.ts4
1 files changed, 3 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 ed6b30102..5678f6df8 100644
--- a/client/src/app/videos/video-watch/video-watch.component.ts
+++ b/client/src/app/videos/video-watch/video-watch.component.ts
@@ -3,7 +3,7 @@ import { ActivatedRoute } from '@angular/router';
3import { Subscription } from 'rxjs/Subscription'; 3import { Subscription } from 'rxjs/Subscription';
4 4
5import * as videojs from 'video.js'; 5import * as videojs from 'video.js';
6import { MetaService } from 'ng2-meta'; 6import { MetaService } from '@nglibs/meta';
7import { NotificationsService } from 'angular2-notifications'; 7import { NotificationsService } from 'angular2-notifications';
8 8
9import { AuthService } from '../../core'; 9import { AuthService } from '../../core';
@@ -228,6 +228,8 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
228 } 228 }
229 229
230 private setOpenGraphTags() { 230 private setOpenGraphTags() {
231 this.metaService.setTitle(this.video.name);
232
231 this.metaService.setTag('og:type', 'video'); 233 this.metaService.setTag('og:type', 'video');
232 234
233 this.metaService.setTag('og:title', this.video.name); 235 this.metaService.setTag('og:title', this.video.name);