Function Hook_media_rendering_oembed->get_video_thumbnail

Definitions

sources/hooks/systems/media_rendering/oembed.php

  • If we can handle this URL, get the thumbnail URL.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$src_url URLPATH required parameter N/A N/A Video URL

Return

  • The thumbnail URL (null: no match)
  • Type: ?string
  • Set: N/A
  • Range: N/A