MixCloud oEmbed support

Adding support for MixCloud oEmbed
This commit is contained in:
Greg Tangey (Ruxton) 2013-04-26 15:25:08 +08:00
parent ea792246d0
commit 9f66e32cce

View file

@ -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/*"