You are here

public function BlazyOEmbedInterface::getResource in Blazy 8.2

Returns the oEmbed Resource based on the given media input url.

Parameters

string $input_url: The video url.

Return value

Drupal\media\OEmbed\Resource[] The oEmbed resource.

1 method overrides BlazyOEmbedInterface::getResource()
BlazyOEmbed::getResource in src/BlazyOEmbed.php
Returns the oEmbed Resource based on the given media input url.

File

src/BlazyOEmbedInterface.php, line 19

Class

BlazyOEmbedInterface
Provides OEmbed integration.

Namespace

Drupal\blazy

Code

public function getResource($input_url);