Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Jun 24, 2024
2 parents 06182d9 + d806462 commit 39ada5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/links/twitter-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ export default {
player.autoplay = whitelistRecord.twitter['player-autoplay'];
}

if (!whitelistRecord.isAllowed('twitter.player', 'iframely')) {
player.rel.push(CONFIG.R.iframely); // Allows player = canonical
}

return player;
}
}
Expand Down

0 comments on commit 39ada5d

Please sign in to comment.