Client: fix PeerTube link in embed videos

pull/24/head
Chocobozzz 2016-11-29 21:55:03 +01:00
parent 50b0c262fd
commit ea070c93cc
1 changed files with 5 additions and 0 deletions

View File

@ -108,8 +108,13 @@
link.innerHTML = 'PeerTube'
link.title = 'Go to the video page'
link.className = 'vjs-peertube-link'
link.target = '_blank'
return link
},
handleClick: function () {
player.pause()
}
})
videojs.registerComponent('PeerTubeLinkButton', peertubeLinkButton)