forked from leftypol/leftypol
youtube.js: adjust referrer policy
This commit is contained in:
parent
9256c15c46
commit
e5ba5feb25
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue