diff options
author | Brion Vibber <brion@status.net> | 2010-11-12 17:41:35 -0800 |
---|---|---|
committer | Brion Vibber <brion@status.net> | 2010-11-12 17:41:35 -0800 |
commit | 4f323efdf7abc5452152a87241e320aca20ce486 (patch) | |
tree | 7a8a2abd48469ac068cee78bbd02fc0690ba003d /doc-src/tos | |
parent | 398e622fecdb2b2b6bf6cde975e3978284db62b4 (diff) |
Encapsulate the oEmbed -> oohembed fallback into oEmbedHelper class. Also added a chance to whitelist sites that don't show discovery info but do have oEmbed API endpoints, and to provide alternate APIs for some common services.
Newly supported:
- TwitPic: added a local function using TwitPic's API, since the oohembed implementation for TwitPic produced invalid output which Services_oEmbed rejects. (bug filed upstream)
Tweaked...
- Flickr: works, now using whitelist to use their endpoint directly instead of going through oohembed
- Youtube: worked around a bug in Services_oEmbed which broke the direct use of API discovery info, so we don't have to use oohembed.
Not currently working...
- YFrog: whitelisting their endpoint directly as the oohembed output is broken, but this doesn't appear to work currently as I think things are confused by YFrog's servers giving a '204 No Content' response on our HEAD checks on the original link.
Diffstat (limited to 'doc-src/tos')
0 files changed, 0 insertions, 0 deletions