]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/video-watch/video-watch.component.ts
Better build/dev scripts
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / video-watch / video-watch.component.ts
index 756f667269e56fb459394e7086025face2a73889..d4b60b001dfdb597f35345892accca6eaa0313d5 100644 (file)
@@ -313,7 +313,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
 
     this.metaService.setTag('og:image', this.video.thumbnailPath);
 
-    this.metaService.setTag('og:duration', this.video.duration);
+    this.metaService.setTag('og:duration', this.video.duration.toString());
 
     this.metaService.setTag('og:site_name', 'PeerTube');