aboutsummaryrefslogtreecommitdiffstats
path: root/include/oembed.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-13 15:41:13 -0700
committerfriendica <info@friendica.com>2012-03-13 15:41:13 -0700
commit427362c324e5acfad18c72108a59a9e6e5b58550 (patch)
tree7046e107ea723a917959606bfc4c41d2c8ccd2b7 /include/oembed.php
parentdc84da520d7bde3f2e160d2573a549829fd022cf (diff)
parentacc4bbeb6ebc832da2a8b5a37b764a6a53dd1214 (diff)
downloadvolse-hubzilla-427362c324e5acfad18c72108a59a9e6e5b58550.tar.gz
volse-hubzilla-427362c324e5acfad18c72108a59a9e6e5b58550.tar.bz2
volse-hubzilla-427362c324e5acfad18c72108a59a9e6e5b58550.zip
Merge branch 'pull'
Diffstat (limited to 'include/oembed.php')
-rwxr-xr-xinclude/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php
index 5c3c595f5..52068efc7 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -62,7 +62,7 @@ function oembed_fetch_url($embedurl){
function oembed_format_object($j){
$embedurl = $j->embedurl;
- $jhtml = oembed_iframe($j->embedurl,$j->width,$j->height );
+ $jhtml = oembed_iframe($j->embedurl,(isset($j->width) ? $j->width : null), (isset($j->height) ? $j->height : null) );
$ret="<span class='oembed ".$j->type."'>";
switch ($j->type) {
case "video": {