aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-29 21:55:03 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-29 21:55:03 +0100
commitea070c93cc9e00f8080aa743ada019f9fd6807dc (patch)
tree26b93a7e167f3ff1ea07c21182c6f1ec6226f49d
parent50b0c262fd446e9f57630aa5775e1b4708bdf4cb (diff)
downloadPeerTube-ea070c93cc9e00f8080aa743ada019f9fd6807dc.tar.gz
PeerTube-ea070c93cc9e00f8080aa743ada019f9fd6807dc.tar.zst
PeerTube-ea070c93cc9e00f8080aa743ada019f9fd6807dc.zip
Client: fix PeerTube link in embed videos
-rw-r--r--client/src/standalone/videos/embed.html5
1 files changed, 5 insertions, 0 deletions
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 @@
108 link.innerHTML = 'PeerTube' 108 link.innerHTML = 'PeerTube'
109 link.title = 'Go to the video page' 109 link.title = 'Go to the video page'
110 link.className = 'vjs-peertube-link' 110 link.className = 'vjs-peertube-link'
111 link.target = '_blank'
111 112
112 return link 113 return link
114 },
115
116 handleClick: function () {
117 player.pause()
113 } 118 }
114 }) 119 })
115 videojs.registerComponent('PeerTubeLinkButton', peertubeLinkButton) 120 videojs.registerComponent('PeerTubeLinkButton', peertubeLinkButton)