From: Michael J. Rubinsky Date: Sun, 28 Dec 2008 06:26:37 +0000 (-0500) Subject: Document the api parameters for getEmbedJSON X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e07a29192e854b72d8360f5218ac7d5f78dd5b0e;p=horde.git Document the api parameters for getEmbedJSON --- diff --git a/framework/Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php b/framework/Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php index b45a1d086..c8d5ac87c 100644 --- a/framework/Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php +++ b/framework/Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php @@ -70,7 +70,15 @@ class Horde_Service_Vimeo_Simple extends Horde_Service_Vimeo { * @param mixed $optons Either an array containing api parameters or the * video id. If an array, if the url is not passed, * we find it from the video_id. - * + * Parameters: + * url OR video_id + * width + * maxwidth + * byline + * title + * portrait + * color + * callback * * @return JSON encoded data */ @@ -88,7 +96,7 @@ class Horde_Service_Vimeo_Simple extends Horde_Service_Vimeo { } // We should have a url now, and possibly other options. - $url = Util::addParameter($this->_oembed_endpoint, $options, null, true); + $url = Util::addParameter($this->_oembed_endpoint, $options, null, false); $req = $this->getHttpClient(); $response = $req->request('GET', $url);