0
0
Fork 0

Embed modal (#4748)

* Embed modal

* Proxy OEmbed requests from web UI
This commit is contained in:
Eugen Rochko 2017-08-31 03:38:35 +02:00 committed by GitHub
parent 2db9ccaf3e
commit d1a78eba15
10 changed files with 186 additions and 2 deletions

View file

@ -39,7 +39,7 @@ class OEmbedSerializer < ActiveModel::Serializer
def html
attributes = {
src: embed_short_account_status_url(object.account, object),
style: 'width: 100%; overflow: hidden',
class: 'mastodon-embed',
frameborder: '0',
scrolling: 'no',
width: width,