docs: def oembed(url, params=""):
      """
      Render an OEmbed-compatible link as an embedded item.
  
  
      :param url: A URL of an OEmbed provider.
      :return: The OEMbed ``<embed>`` code.
      """
      # Note: this method isn't currently very efficient - the data isn't
      # cached or stored.
      kwargs = dict(urlparse.parse_qsl(params))
  
      try:
          return mark_safe(get_oembed_data(
              url,
              **kwargs
          )['html'])
      except (KeyError, ProviderException):
          if settings.DEBUG:
              return "No OEmbed data returned"
          return ""