]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/assets/player/peertube-link-button.ts
Fix transcoding
[github/Chocobozzz/PeerTube.git] / client / src / assets / player / peertube-link-button.ts
index a13815d611206388395186193a32654bdd72c55b..b03952b476ba64402d577065e30fdce5dbdd2c6c 100644 (file)
@@ -4,7 +4,7 @@ import { buildVideoLink } from './utils'
 const Button: VideoJSComponentInterface = videojsUntyped.getComponent('Button')
 class PeerTubeLinkButton extends Button {
 
-  constructor (player: videojs.Player, options) {
+  constructor (player: any, options: any) {
     super(player, options)
   }
 
@@ -24,7 +24,7 @@ class PeerTubeLinkButton extends Button {
     const el = videojsUntyped.dom.createEl('a', {
       href: buildVideoLink(),
       innerHTML: 'PeerTube',
-      title: 'Go to the video page',
+      title: this.player_.localize('Go to the video page'),
       className: 'vjs-peertube-link',
       target: '_blank'
     })