diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-06-25 01:33:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 01:33:01 +0200 |
commit | 662a49dc3f06749936cedd7349092bbe622f0bc6 (patch) | |
tree | e70453a48a765854ca0510412ab48accd0d13e6d /app/views/accounts | |
parent | e9ff61ca0704d9570950875e1b72556c4114424f (diff) |
Fix various issues around OpenGraph representation of media (#14133)
- Fix audio attachments not being represented in OpenGraph tags - Fix audio being represented as "1 image" in OpenGraph descriptions - Fix video metadata being overwritten by paperclip-av-transcoder - Fix embedded player not using Mastodon's UI - Fix audio/video progress bars not moving smoothly - Fix audio/video buffered bars not displaying correctly
Diffstat (limited to 'app/views/accounts')
-rw-r--r-- | app/views/accounts/_og.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/accounts/_og.html.haml b/app/views/accounts/_og.html.haml index 839576372..6350d7ed0 100644 --- a/app/views/accounts/_og.html.haml +++ b/app/views/accounts/_og.html.haml @@ -7,7 +7,7 @@ = opengraph 'og:title', yield(:page_title).strip = opengraph 'og:description', description = opengraph 'og:image', full_asset_url(account.avatar.url(:original)) -= opengraph 'og:image:width', '120' -= opengraph 'og:image:height', '120' += opengraph 'og:image:width', '400' += opengraph 'og:image:height', '400' = opengraph 'twitter:card', 'summary' = opengraph 'profile:username', acct(account)[1..-1] |