Commit Graph

33 Commits

Author SHA1 Message Date
Jon Cave
65bb406853 We use colon as the case separator.
git-svn-id: https://develop.svn.wordpress.org/trunk@20235 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 15:04:52 +00:00
Andrew Nacin
e1b429fd67 Add Twitter.com as an oEmbed provider. props Otto42. see #19626.
git-svn-id: https://develop.svn.wordpress.org/trunk@19721 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 17:43:48 +00:00
Ryan Boren
2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Jon Cave
7942318230 Ensure auto-embed only matches "smugmug.com" and its subdomains. Fixes #19076.
git-svn-id: https://develop.svn.wordpress.org/trunk@19079 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 20:05:43 +00:00
Jon Cave
abada6e11d Fix polldaddy oEmbed regular expression to work with new style URLs. Props r-a-y, azaozz. Fixes #17106.
git-svn-id: https://develop.svn.wordpress.org/trunk@19076 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 19:42:57 +00:00
Ryan Boren
8d945cd8a0 Update vimeo oembed api url. Props l3rady, justindgivens. fixes #18928
git-svn-id: https://develop.svn.wordpress.org/trunk@18973 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 17:56:48 +00:00
Jon Cave
205aa5ba5c Fix typos in documentation (wp-includes/[a-h]). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18633 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 16:02:41 +00:00
Ryan Boren
85c07485bf Cast widget and height to int in WP_oEmbed:fetch() so we don't have to rely on providers.
git-svn-id: https://develop.svn.wordpress.org/trunk@17995 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:20:48 +00:00
Andrew Nacin
5fe94e6993 Update the blip.tv regex. props blepoxp, fixes #17495.
git-svn-id: https://develop.svn.wordpress.org/trunk@17978 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-20 15:52:39 +00:00
Ryan Boren
4bf74e960d Remove PHP4 constructor. Props ocean90. see #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17654 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 21:45:20 +00:00
Andrew Nacin
892760ad7a When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945.
git-svn-id: https://develop.svn.wordpress.org/trunk@16444 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:17:13 +00:00
Mark Jaquith
4689663e64 Revert accidental inclusion in last commit... [15740]
git-svn-id: https://develop.svn.wordpress.org/trunk@15741 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 08:06:31 +00:00
Mark Jaquith
dfa0e20a64 Fix an English fail.
git-svn-id: https://develop.svn.wordpress.org/trunk@15740 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 08:04:15 +00:00
Andrew Nacin
4bcefca0ca Fix order of params to strpos. props ampt, fixes #12115.
git-svn-id: https://develop.svn.wordpress.org/trunk@14976 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:14:35 +00:00
Ryan Boren
d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Andrew Nacin
88bcfe2ec4 Simply search for newlines to strip instead of checking the oEmbed provider. fixes #12115.
git-svn-id: https://develop.svn.wordpress.org/trunk@14249 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 05:21:39 +00:00
Andrew Nacin
08a6301257 Strip new lines from Viddler embeds, as we do for Scribd embeds. Avoids conflicts with wpautop. props Viper007Bond. see #12115.
git-svn-id: https://develop.svn.wordpress.org/trunk@14109 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 14:15:16 +00:00
Andrew Nacin
f3b49e98b6 Request XML from an oEmbed provider if the provider returns '501 Not Implemented' for JSON. props nbachiyski, fixes #11964.
git-svn-id: https://develop.svn.wordpress.org/trunk@13996 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 12:30:22 +00:00
Andrew Nacin
05a37728b1 Use esc_url() instead of clean_url(). See #12309
git-svn-id: https://develop.svn.wordpress.org/trunk@13297 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:15:10 +00:00
Dion Hulse
f68b5c6093 Add FunnyOrDie.com oEmbed support. Props Viper007Bond. Fixes #11899.
git-svn-id: https://develop.svn.wordpress.org/trunk@13275 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:17:39 +00:00
Andrew Nacin
96c01c0018 Add Youtu.be short URLs and Smugmug to the default oEmbed providers. Props Viper007Bond, fixes #11556, fixes #12157
git-svn-id: https://develop.svn.wordpress.org/trunk@13203 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 22:43:52 +00:00
Ryan Boren
62e8bf4cea Use oEmbed for PollDaddy. Props Viper007Bond. fixes #12174
git-svn-id: https://develop.svn.wordpress.org/trunk@13021 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 16:15:13 +00:00
Ryan Boren
0685f827bf Use oEmbed for dailymotion. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12325 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:33:53 +00:00
Ryan Boren
8a667fd4a9 Add wordpress.tv to oEmbed provider whitelist. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12181 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-12 22:05:05 +00:00
Ryan Boren
87a8ae176a Add a bunch of new filters. Use one of them to remove new lines from Scribd embeds. Invalid oEmbed post meta cache without using JS. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12153 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-06 14:22:23 +00:00
Ryan Boren
bf15548a6a Fix regex. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12138 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-02 20:50:49 +00:00
Ryan Boren
b552dbdd9b Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12136 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-02 14:41:35 +00:00
Ryan Boren
b4f5f60664 Add scribd to oembed provider whitelist. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12131 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-30 20:03:41 +00:00
Ryan Boren
ad6346e33d Fix revision3 scheme. Add photobucket oembed. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12123 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-28 20:13:09 +00:00
Ryan Boren
8c4c0f29fe Allow non-admins to use Vimeo and allow regex in oEmbed URL formats. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12096 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-23 19:33:24 +00:00
Ryan Boren
a4789b3cc1 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:26:21 +00:00
Ryan Boren
05458bb414 Use oEmbed for youtube. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12027 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 22:36:24 +00:00
Ryan Boren
e71f15a979 Embeds. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12023 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 17:04:22 +00:00