You are here

protected property Resource::$thumbnailUrl in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailUrl
  2. 10 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::thumbnailUrl

A URL to a thumbnail image representing the resource.

The thumbnail must respect any maxwidth and maxheight parameters passed to the oEmbed endpoint. If this parameter is present, thumbnail_width and thumbnail_height must also be present.

Type: string

See also

\Drupal\media\OEmbed\UrlResolverInterface::getResourceUrl()

https://oembed.com/#section2

File

core/modules/media/src/OEmbed/Resource.php, line 100

Class

Resource
Value object representing an oEmbed resource.

Namespace

Drupal\media\OEmbed

Code

protected $thumbnailUrl;