Client: fix PeerTube link in embed videos
This commit is contained in:
parent
50b0c262fd
commit
ea070c93cc
|
@ -108,8 +108,13 @@
|
||||||
link.innerHTML = 'PeerTube'
|
link.innerHTML = 'PeerTube'
|
||||||
link.title = 'Go to the video page'
|
link.title = 'Go to the video page'
|
||||||
link.className = 'vjs-peertube-link'
|
link.className = 'vjs-peertube-link'
|
||||||
|
link.target = '_blank'
|
||||||
|
|
||||||
return link
|
return link
|
||||||
|
},
|
||||||
|
|
||||||
|
handleClick: function () {
|
||||||
|
player.pause()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
videojs.registerComponent('PeerTubeLinkButton', peertubeLinkButton)
|
videojs.registerComponent('PeerTubeLinkButton', peertubeLinkButton)
|
||||||
|
|
Loading…
Reference in New Issue