From 6e7b029f1c14e7eba4ceaf8174eb3fc276154b9c Mon Sep 17 00:00:00 2001
From: j <0x006A@0x2620.org>
Date: Mon, 4 Jun 2012 22:14:48 +0200
Subject: [PATCH] fix iframe width/height
---
pandora/item/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pandora/item/views.py b/pandora/item/views.py
index 07add602f..b3bd88789 100644
--- a/pandora/item/views.py
+++ b/pandora/item/views.py
@@ -994,7 +994,7 @@ def oembed(request):
height = maxheight
if maxwidth > width or width > maxwidth:
width = maxwidth
- oembed['html'] = '' % (height, width, embed_url)
+ oembed['html'] = '' % (width, height, embed_url)
oembed['width'] = width
oembed['height'] = height
thumbheight = 96