#18928 closed defect (bug) (fixed)
Vimeo oEmbed API URL incorrect causing Vimeo oEmbed to not function
Reported by: | l3rady | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | minor | Version: | 3.3 |
Component: | Embeds | Keywords: | has-patch |
Focuses: | Cc: |
Description
'#http://(www\.)?vimeo\.com/.*#i' => array( 'http://www.vimeo.com/api/oembed.{format}', true ),
Vimeo is registered as above (/wp-includes/class-oembed.php line 36). but looking at vimeo's API their API URL is without the www.
Because the wrong URL is used embed for vimeo videos does not work.
Attachments (2)
Change History (10)
#4
@
13 years ago
I whipped together a quick plugin as a hotfix for anyone who needs to fix this problem immediately.
#5
@
13 years ago
- Cc hello@… added
Can definitely confirm this issue. Tried to include a video for at least 30 minutes. Maybe we should tell Vimeo to fix their redirect (regarding the double encoding) since it isn't really a bug in WordPress itself?
#6
@
13 years ago
- Owner set to nacin
- Status changed from new to accepted
The temp fix (removing www) was deployed to WordPress.com yesterday.
Let's go ahead and change this in core, since it's clear that vimeo.com is their preferred endpoint.
I'm working with Vimeo on this to ensure the old endpoint works.
Confirmed.
Vimeo tries to redirect to a URL without
www
, but apparently double-encodes query args in the process.This works:
This doesn't:
Full URL after redirect:
Note the double-encoded video URL:
http%253A%252F%252Fvimeo.com%252F30230507
.