diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-10 10:33:36 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-10 10:33:36 +0100 |
commit | 758b996dc6effcab6031b32c0bd0b81f234c1a63 (patch) | |
tree | 8a40c0882bd00932bd9003077d4c0d3db456bf24 /client/src/app/videos | |
parent | 86e83939869976e9b4dfa6dc9d3785a284bd598c (diff) | |
download | PeerTube-758b996dc6effcab6031b32c0bd0b81f234c1a63.tar.gz PeerTube-758b996dc6effcab6031b32c0bd0b81f234c1a63.tar.zst PeerTube-758b996dc6effcab6031b32c0bd0b81f234c1a63.zip |
Client: switch to @nglibs/meta
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.ts | 4 |
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'; | |||
3 | import { Subscription } from 'rxjs/Subscription'; | 3 | import { Subscription } from 'rxjs/Subscription'; |
4 | 4 | ||
5 | import * as videojs from 'video.js'; | 5 | import * as videojs from 'video.js'; |
6 | import { MetaService } from 'ng2-meta'; | 6 | import { MetaService } from '@nglibs/meta'; |
7 | import { NotificationsService } from 'angular2-notifications'; | 7 | import { NotificationsService } from 'angular2-notifications'; |
8 | 8 | ||
9 | import { AuthService } from '../../core'; | 9 | import { 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); |