HumHub Documentation (unofficial)

UrlOembedClient

Table of Contents

Methods

fetchUrl()  : array<string|int, mixed>|null
Fetches a given $url and returns the oembed result array. The resulting array should at least contain an `html` with a html preview and a `type` field.

Methods

fetchUrl()

Fetches a given $url and returns the oembed result array. The resulting array should at least contain an `html` with a html preview and a `type` field.

public fetchUrl(string $url) : array<string|int, mixed>|null
Parameters
$url : string
Return values
array<string|int, mixed>|null

        
On this page

Search results