[wp-trac] [WordPress Trac] #24296: Viddler oembed has new endpoint, old one strips maxwidth

WordPress Trac noreply at wordpress.org
Thu May 9 17:34:41 UTC 2013


#24296: Viddler oembed has new endpoint, old one strips maxwidth
--------------------------+-----------------------------
 Reporter:  Otto42        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Embeds        |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Viddler changed their oembed endpoint:

 http://developers.viddler.com/documentation/oembed/

 Now it's "http://www.viddler.com/oembed/" instead of
 "http://lab.viddler.com/services/oembed/".

 They have the old endpoint redirecting, but unfortunately, the redirection
 strips off the maxwidth (and possibly other) parameters, which can result
 in incorrectly sized videos when using oembed with Viddler.

 Example:
 http://lab.viddler.com/services/oembed/?url=http://www.viddler.com/v/bdce8c7&format=json&maxwidth=250

 Redirects to:
 http://www.viddler.com/oembed/?url=http://www.viddler.com/v/bdce8c7&format=json

 We should change the endpoint in class-oembed.php to the new one. If the
 new endpoint is used directly, with no redirect, then it does correctly
 handle the maxwidth parameter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24296>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list