EasyBlogVideoYoutube
extends EasyBlogVideoProvider
in package
Table of Contents
Properties
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $my : mixed
- $string : mixed
Methods
- __construct() : mixed
- getCode() : mixed
- getEmbedHTML() : mixed
- Retrieves the embedded html code for youtube
- getError() : mixed
- getErrors() : mixed
- hasError() : mixed
- hasErrors() : mixed
- isMobile() : mixed
- Determines if this is a mobile layout
- isTablet() : mixed
- Determines if this is a tablet layout
- loadLanguage() : mixed
- Helper method to load language
- match() : mixed
- Given a regex pattern, try to match for items
- normalizeUrl() : mixed
- Normalize the youtube URL whether need to contain ? or &
- setError() : mixed
Properties
$app
public
mixed
$app
= \null
$config
public
mixed
$config
= \null
$db
public
mixed
$db
= \null
$doc
public
mixed
$doc
= \null
$input
public
mixed
$input
= \null
$jconfig
public
mixed
$jconfig
= \null
$lang
public
mixed
$lang
= \null
$my
public
mixed
$my
= \null
$string
public
mixed
$string
= \null
Methods
__construct()
public
__construct() : mixed
getCode()
public
getCode(mixed $url) : mixed
Parameters
- $url : mixed
getEmbedHTML()
Retrieves the embedded html code for youtube
public
getEmbedHTML(mixed $url[, mixed $width = null ][, mixed $height = null ][, mixed $amp = false ]) : mixed
Parameters
- $url : mixed
- $width : mixed = null
- $height : mixed = null
- $amp : mixed = false
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
isMobile()
Determines if this is a mobile layout
public
isMobile() : mixed
Tags
isTablet()
Determines if this is a tablet layout
public
isTablet() : mixed
Tags
loadLanguage()
Helper method to load language
public
loadLanguage([mixed $admin = false ]) : mixed
Parameters
- $admin : mixed = false
Tags
match()
Given a regex pattern, try to match for items
public
match(mixed $pattern, mixed $url) : mixed
Parameters
- $pattern : mixed
- $url : mixed
Tags
normalizeUrl()
Normalize the youtube URL whether need to contain ? or &
public
normalizeUrl(mixed $url) : mixed
Parameters
- $url : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed