]> cat aescling's git repositories - mastodon.git/commit
Save video metadata and improve video OpenGraph tags (#6481)
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 16 Feb 2018 06:22:20 +0000 (07:22 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Feb 2018 06:22:20 +0000 (07:22 +0100)
commit9dbae6e8a120fc18fdc007503375b53f6b061b8f
treecf0a3ceee2a1a0c4c1f1418ac9668992465bdfeb
parent1122579216a0ba6d081ff9ad14a1b501636f9601
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
Gemfile
Gemfile.lock
app/controllers/media_controller.rb
app/javascript/styles/mastodon/basics.scss
app/javascript/styles/mastodon/stream_entries.scss
app/models/media_attachment.rb
app/views/media/player.html.haml [new file with mode: 0644]
app/views/stream_entries/_og_image.html.haml
config/brakeman.ignore
config/routes.rb
spec/models/media_attachment_spec.rb