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)