projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b0c26
)
Client: fix PeerTube link in embed videos
author
Chocobozzz
<florian.bigard@gmail.com>
Tue, 29 Nov 2016 20:55:03 +0000
(21:55 +0100)
committer
Chocobozzz
<florian.bigard@gmail.com>
Tue, 29 Nov 2016 20:55:03 +0000
(21:55 +0100)
client/src/standalone/videos/embed.html
patch
|
blob
|
history
diff --git
a/client/src/standalone/videos/embed.html
b/client/src/standalone/videos/embed.html
index c154e9570f74656049394ef55c04c1d0a86934e5..0a1c3eadfc0637860be59084c7f2cb7b42a15213 100644
(file)
--- 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)