Function Hook_media_rendering_oembed->_fallback_render

Definitions

sources/hooks/systems/media_rendering/oembed.php

  • Provide code to display what is at the URL, when we fail to render with oEmbed.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$url mixed required parameter N/A N/A URL to render
$attributes array required parameter N/A N/A Attributes (e.g. width, height, length)
$source_member ?MEMBER required parameter N/A N/A Member to run as (null: current member)
$link_captions_title string Blank (empty string) N/A N/A Text to show the link with

Return

  • Rendered version
  • Type: Tempcode
  • Set: N/A
  • Range: N/A