Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
This commit is contained in:
parent
6de079a5af
commit
aed25932b5
11 changed files with 72 additions and 7 deletions
|
@ -9,6 +9,6 @@ node(:author_url) { |entry| account_url(entry.account) }
|
|||
node(:provider_name) { Rails.configuration.x.local_domain }
|
||||
node(:provider_url) { root_url }
|
||||
node(:cache_age) { 86_400 }
|
||||
node(:html, &:content)
|
||||
node(:html) { |entry| "<div style=\"position: relative; height: 0; overflow: hidden; padding-top: 30px; padding-bottom: 56.25%\"><iframe src=\"#{embed_account_stream_entry_url(entry.account, entry)}\" style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden\" frameborder=\"0\" width=\"#{@width}\" scrolling=\"no\"></iframe></div>" }
|
||||
node(:width) { @width }
|
||||
node(:height) { @height }
|
||||
node(:height) { nil }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue