Class YoutubeHelper
-
Helper
-
AppHelper
-
YoutubeHelper
implements
MediaProviderInterface
Methods summary
public
boolean
|
#
isSourceAvailable( array $obj )
Is Youtube video source available?
Is Youtube video source available?
Parameters
- $obj
- a representation of Video BEdita object
Returns
boolean
Implementation of
|
public
string
|
#
thumbnail( array $obj, array $htmlAttributes, boolean $URLonly )
Return the thumbnail supplied by Youtube as tag
If $URLonly is true return only the url to img
Return the thumbnail supplied by Youtube as tag
If $URLonly is true return only the url to img
Parameters
- $obj
- a representation of Video BEdita object
- $htmlAttributes
- HTML attributes to set in tag
- $URLonly
Returns
string
Implementation of
|
public
string|boolean
|
#
embed( array $obj, array $attributes )
Embed Youtube video
Parameters
- $obj
- a representation of Video BEdita object
- $attributes
- HTML attributes
Returns
string|boolean
Implementation of
|
public
array
|
#
source( array $obj )
Source it's not available so it returns an empty array
Source it's not available so it returns an empty array
Parameters
- $obj
- a representation of Video BEdita object
Returns
array
Implementation of
|