aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/video-watch
diff options
context:
space:
mode:
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);