aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/embed.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone/videos/embed.html')
-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)