~cytrogen/masto-fe

7bb8030cc1a89b307e447fcd6e1b1b64085f13e4 — Claire 2 years ago 36a7774
Change OpenGraph-based embeds to allow fullscreen (#25058)

1 files changed, 1 insertions(+), 1 deletions(-)

M app/lib/link_details_extractor.rb
M app/lib/link_details_extractor.rb => app/lib/link_details_extractor.rb +1 -1
@@ 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