summaryrefslogtreecommitdiff
path: root/classes/File_oembed.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-17 21:40:52 +0000
committerZach Copley <zach@controlyourself.ca>2009-06-17 21:40:52 +0000
commit164588ef0fd2c9c9f1858f1d21d6758356ce7885 (patch)
tree2e5d5c9cc8adf07a1d610728dbfa201756884640 /classes/File_oembed.php
parentaf4b18b1e2ef8aded26fc4788c571012da04d1cf (diff)
parentcd1361fe960eb3afbbdb34b14061b8475dea60c8 (diff)
Merge branch '0.8.x' into userdesign
Diffstat (limited to 'classes/File_oembed.php')
-rw-r--r--classes/File_oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/File_oembed.php b/classes/File_oembed.php
index f1b2cb13c..6bf972f8f 100644
--- a/classes/File_oembed.php
+++ b/classes/File_oembed.php
@@ -53,7 +53,7 @@ class File_oembed extends Memcached_DataObject
function _getOembed($url, $maxwidth = 500, $maxheight = 400, $format = 'json') {
- $cmd = 'http://oohembed.com/oohembed/?url=' . urlencode($url);
+ $cmd = common_config('oohembed', 'endpoint') . '?url=' . urlencode($url);
if (is_int($maxwidth)) $cmd .= "&maxwidth=$maxwidth";
if (is_int($maxheight)) $cmd .= "&maxheight=$maxheight";
if (is_string($format)) $cmd .= "&format=$format";