Add clickable title for embedded videos

This commit is contained in:
Omar Roth 2019-06-16 09:41:33 -05:00
parent fcf377d26b
commit 485459b8b2
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2
3 changed files with 4 additions and 3 deletions

View file

@ -106,12 +106,12 @@ if (location.pathname.startsWith('/embed/')) {
player.overlay({
overlays: [{
start: 'loadstart',
content: '<h1>' + player_data.title + '</h1>',
content: '<h1><a href="' + location.href + '">' + player_data.title + '</a></h1>',
end: 'playing',
align: 'top'
}, {
start: 'pause',
content: '<h1>' + player_data.title + '</h1>',
content: '<h1><a href="' + location.href + '">' + player_data.title + '</a></h1>',
end: 'playing',
align: 'top'
}]