Public Member Functions | Public Attributes

VimeoHelper Class Reference

Vimeo helper class. More...

Inheritance diagram for VimeoHelper:
AppHelper MediaProviderInterface

List of all members.

Public Member Functions

 isSourceAvailable (array $obj)
 Is Vimeo video source available?
 thumbnail (array $obj, array $htmlAttributes, $URLonly)
 Return the thumbnail supplied by Vimeo as.
 embed (array $obj, array $attributes)
 Embed Vimeo video.
 source (array $obj)
 Source it's not available so it returns an empty array.

Public Attributes

 $helpers = array('Html')

Detailed Description

Vimeo helper class.

Definition at line 31 of file vimeo.php.


Member Function Documentation

VimeoHelper::embed ( array $  obj,
array $  attributes 
)

Embed Vimeo video.

Parameters:
array $obj a representation of Video BEdita object
array $attributes HTML attributes
Returns:
string|boolean

Implements MediaProviderInterface.

Definition at line 72 of file vimeo.php.

References AppHelper::oEmbedInfo().

VimeoHelper::isSourceAvailable ( array $  obj  ) 

Is Vimeo video source available?

Parameters:
array $obj a representation of Video BEdita object
Returns:
boolean

Implements MediaProviderInterface.

Definition at line 41 of file vimeo.php.

VimeoHelper::source ( array $  obj  ) 

Source it's not available so it returns an empty array.

Parameters:
array $obj a representation of Video BEdita object
Returns:
array

Implements MediaProviderInterface.

Definition at line 96 of file vimeo.php.

VimeoHelper::thumbnail ( array $  obj,
array $  htmlAttributes,
URLonly 
)

Return the thumbnail supplied by Vimeo as.

tag If $URLonly is true return only the url to img

Parameters:
array $obj a representation of Video BEdita object
array $htmlAttributes HTML attributes to set in tag
boolean $URLonly
Returns:
string

Implements MediaProviderInterface.

Definition at line 54 of file vimeo.php.

References AppHelper::oEmbedInfo().


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus