summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/js/player.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/player.js b/assets/js/player.js
index e0f37d2b..8d18ea82 100644
--- a/assets/js/player.js
+++ b/assets/js/player.js
@@ -106,12 +106,12 @@ if (location.pathname.startsWith('/embed/')) {
player.overlay({
overlays: [{
start: 'loadstart',
- content: '<h1><a href="' + location.origin + '/watch?v=' + video_data.id + '">' + player_data.title + '</a></h1>',
+ content: '<h1><a rel="noopener" target="_blank" href="' + location.origin + '/watch?v=' + video_data.id + '">' + player_data.title + '</a></h1>',
end: 'playing',
align: 'top'
}, {
start: 'pause',
- content: '<h1><a href="' + location.origin + '/watch?v=' + video_data.id + '">' + player_data.title + '</a></h1>',
+ content: '<h1><a rel="noopener" target="_blank" href="' + location.origin + '/watch?v=' + video_data.id + '">' + player_data.title + '</a></h1>',
end: 'playing',
align: 'top'
}]