Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2021-11-13 09:40:13 +01:00
6 changed files with 88 additions and 6 deletions

View File

@ -91,7 +91,7 @@ class LinkDetailsExtractor
end
def html
player_url.present? ? content_tag(:iframe, 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, allowtransparency: 'true', scrolling: 'no', frameborder: '0') : nil
end
def width