Change OpenGraph-based embeds to allow fullscreen (#25058)

lolsob-rspec
Claire 2023-05-22 12:25:56 +02:00 committed by GitHub
parent 9cf831be0b
commit 0635b1c228
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class LinkDetailsExtractor
end
def html
player_url.present? ? content_tag(:iframe, nil, src: player_url, width: width, height: height, allowtransparency: 'true', scrolling: 'no', frameborder: '0') : nil
player_url.present? ? content_tag(:iframe, nil, src: player_url, width: width, height: height, allowfullscreen: 'true', allowtransparency: 'true', scrolling: 'no', frameborder: '0') : nil
end
def width