If I embed something with oEmbed, is there a chance to get the type of the embed (video, audio etc.) ?
If I look at www.oembed.com I see that in the JSON response there is always the data type.
Any chance to get this without hacking the core?
I don't find any functions, except wp_oembed_get
, which seems to only return the width and height.