diff options
Diffstat (limited to 'client/src/app/videos/video-watch')
-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); |