From ea070c93cc9e00f8080aa743ada019f9fd6807dc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 29 Nov 2016 21:55:03 +0100 Subject: [PATCH] Client: fix PeerTube link in embed videos --- client/src/standalone/videos/embed.html | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.41.0