diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-05-22 12:25:56 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2023-07-06 13:46:21 +0200 |
commit | 3faebae2d1a5f72bf93167b1fbb279406bb738de (patch) | |
tree | c717405fcae47e3466332de8491ad3750341183a /app | |
parent | 95f59da1578272efee84f06375d6e77944a4d5b0 (diff) |
Change OpenGraph-based embeds to allow fullscreen (#25058)
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/link_details_extractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/link_details_extractor.rb b/app/lib/link_details_extractor.rb index b0c4e4f425e..78265fa1cbe 100644 --- a/app/lib/link_details_extractor.rb +++ b/app/lib/link_details_extractor.rb @@ -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 |