BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
EmbedVideo\OEmbed Class Reference

Public Member Functions

 getHtml ()
 
 getTitle ()
 
 getAuthorName ()
 
 getAuthorUrl ()
 
 getProviderName ()
 
 getProviderUrl ()
 
 getWidth ()
 
 getHeight ()
 
 getThumbnailWidth ()
 
 getThumbnailHeight ()
 

Static Public Member Functions

static newFromRequest ($url)
 

Member Function Documentation

EmbedVideo\OEmbed::getAuthorName ( )

Return the author name from the data.

public

Returns
mixed String or false on error.
EmbedVideo\OEmbed::getAuthorUrl ( )

Return the author URL from the data.

public

Returns
mixed String or false on error.
EmbedVideo\OEmbed::getHeight ( )

Return the height from the data.

public

Returns
mixed Integer or false on error.
EmbedVideo\OEmbed::getHtml ( )

Return the HTML from the data, typically an iframe.

public

Returns
mixed String HTML or false on error.
EmbedVideo\OEmbed::getProviderName ( )

Return the provider name from the data.

public

Returns
mixed String or false on error.
EmbedVideo\OEmbed::getProviderUrl ( )

Return the provider URL from the data.

public

Returns
mixed String or false on error.
EmbedVideo\OEmbed::getThumbnailHeight ( )

Return the thumbnail height from the data.

public

Returns
mixed Integer or false on error.
EmbedVideo\OEmbed::getThumbnailWidth ( )

Return the thumbnail width from the data.

public

Returns
mixed Integer or false on error.
EmbedVideo\OEmbed::getTitle ( )

Return the title from the data.

public

Returns
mixed String or false on error.
EmbedVideo\OEmbed::getWidth ( )

Return the width from the data.

public

Returns
mixed Integer or false on error.
static EmbedVideo\OEmbed::newFromRequest (   $url)
static

Create a new object from an oEmbed URL.

public

Parameters
stringFull oEmbed URL to process.
Returns
mixed New OEmbed object or false on initialization failure.

The documentation for this class was generated from the following file: