forked from 0x2620/pandora
fix iframe width/height
This commit is contained in:
parent
9173ce454b
commit
6e7b029f1c
1 changed files with 1 additions and 1 deletions
|
@ -994,7 +994,7 @@ def oembed(request):
|
|||
height = maxheight
|
||||
if maxwidth > width or width > maxwidth:
|
||||
width = maxwidth
|
||||
oembed['html'] = '<iframe width="%s" height="%s" src="%s" frameborder="0" allowfullscreen></iframe>' % (height, width, embed_url)
|
||||
oembed['html'] = '<iframe width="%s" height="%s" src="%s" frameborder="0" allowfullscreen></iframe>' % (width, height, embed_url)
|
||||
oembed['width'] = width
|
||||
oembed['height'] = height
|
||||
thumbheight = 96
|
||||
|
|
Loading…
Reference in a new issue