From 758b996dc6effcab6031b32c0bd0b81f234c1a63 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Mar 2017 10:33:36 +0100 Subject: Client: switch to @nglibs/meta --- client/src/app/videos/video-watch/video-watch.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/src/app/videos/video-watch') 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'; import { Subscription } from 'rxjs/Subscription'; import * as videojs from 'video.js'; -import { MetaService } from 'ng2-meta'; +import { MetaService } from '@nglibs/meta'; import { NotificationsService } from 'angular2-notifications'; import { AuthService } from '../../core'; @@ -228,6 +228,8 @@ export class VideoWatchComponent implements OnInit, OnDestroy { } private setOpenGraphTags() { + this.metaService.setTitle(this.video.name); + this.metaService.setTag('og:type', 'video'); this.metaService.setTag('og:title', this.video.name); -- cgit v1.2.3