Save video metadata and improve video OpenGraph tags (#6481)
* Save metadata from video attachments, put correct dimensions into OG tags * Add twitter:player for videos * Fix code style and test
This commit is contained in:
parent
1122579216
commit
9dbae6e8a1
11 changed files with 151 additions and 44 deletions
|
@ -103,7 +103,10 @@ Rails.application.routes.draw do
|
|||
resources :sessions, only: [:destroy]
|
||||
end
|
||||
|
||||
resources :media, only: [:show]
|
||||
resources :media, only: [:show] do
|
||||
get :player
|
||||
end
|
||||
|
||||
resources :tags, only: [:show]
|
||||
resources :emojis, only: [:show]
|
||||
resources :invites, only: [:index, :create, :destroy]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue