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:
@ -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]
|
||||
|
Reference in New Issue
Block a user