const Button: VideoJSComponentInterface = videojsUntyped.getComponent('Button')
class PeerTubeLinkButton extends Button {
- constructor (player: videojs.Player, options) {
+ constructor (player: any, options: any) {
super(player, options)
}
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'
})