youtube.js: adjust referrer policy

This commit is contained in:
Zankaria 2025-02-17 21:42:20 +01:00
parent 9256c15c46
commit e5ba5feb25

View file

@ -22,7 +22,7 @@ $(document).ready(function() {
function makeEmbedNode(embedHost, videoId, width, height) {
return $(`<iframe type="text/html" width="${width}" height="${height}" class="full-image"
src="https://${embedHost}/embed/${videoId}?autoplay=1" allow="fullscreen" frameborder="0"/>`);
src="https://${embedHost}/embed/${videoId}?autoplay=1" allow="fullscreen" frameborder="0" referrerpolicy="strict-origin"/>`);
}
// Adds Options panel item.