From: Chocobozzz Date: Tue, 29 Nov 2016 20:55:03 +0000 (+0100) Subject: Client: fix PeerTube link in embed videos X-Git-Tag: v0.0.1-alpha~585 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=ea070c93cc9e00f8080aa743ada019f9fd6807dc;p=github%2FChocobozzz%2FPeerTube.git Client: fix PeerTube link in embed videos --- diff --git a/client/src/standalone/videos/embed.html b/client/src/standalone/videos/embed.html index c154e9570..0a1c3eadf 100644 --- a/client/src/standalone/videos/embed.html +++ b/client/src/standalone/videos/embed.html @@ -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)