diff options
author | Greg Tangey (Ruxton) <ruxton@thefrontiergroup.com.au> | 2013-04-26 11:25:08 +0400 |
---|---|---|
committer | Greg Tangey (Ruxton) <ruxton@thefrontiergroup.com.au> | 2013-04-26 11:25:08 +0400 |
commit | 9f66e32cceb01f6ab968cd95bf41d2052a78214e (patch) | |
tree | 24c099f59ad55a9122688218dbe40cdd6b73125d /config/initializers | |
parent | ea792246d043e832cf974a444f872a96c85e1178 (diff) |
MixCloud oEmbed support
Adding support for MixCloud oEmbed
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/oembed.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/oembed.rb b/config/initializers/oembed.rb index d02d8236a..c6a5ea9d5 100644 --- a/config/initializers/oembed.rb +++ b/config/initializers/oembed.rb @@ -16,6 +16,9 @@ OEmbedTwitter = OEmbed::Provider.new("https://api.twitter.com/1/statuses/oembed. OEmbedTwitter << "http://twitter.com/*/status/*" OEmbedTwitter << "https://twitter.com/*/status/*" +OEmbedMixCloud = OEmbed::Provider.new("http://www.mixcloud.com/oembed/") +OEmbedMixCloud << "http://www.mixcloud.com/*/*" + # patch in support for new https soundcloud OEmbed::Providers::SoundCloud << "https://*.soundcloud.com/*" |