Add oEmbed support for deviantART
|Reported by:||PotterSys||Owned by:|
|Severity:||minor||Keywords:||deviantart, oembed, has-patch|
Today, deviantART added oEmbed support; so it can be added to the core oEmbed provider list.
I added the parameters to the oEmbed default providers, and it works. However, the deviantART oEmbed returns the original image data and the thumbnail. As original images by dA are usually big (you can find original images > 20 MB), I chose to return the thumbnail information if the thumbnail_url value is not empty.
Don't be afraid to change the (crappy) regexps; and possible solutions to the "thumb or no thumb" dilemma