Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292485

Expose raw oEmbed resource data to calling code

$
0
0

Problem/Motivation

Currently the oEmbed resource fetching in core requires that a specific set of data be returned as a Resource type, discarding data from the provider's return. There are two problems with this:

  1. Non-standardized returns cannot use their meta, such as SoundCloud XML using dashes instead of underscores (https://soundcloud.com/oembed?url=https://soundcloud.com/forss/flickermood). I know this is an issue on their end, but is a common one among 3rd parties
  2. There is no direct access to the provider meta data in the case the provider has extra meta attached to a response

Proposed resolution

Add a method that supports returning the provider response.


Viewing all articles
Browse latest Browse all 292485

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>