Class YouTube
YouTube extension
- Xoops\Core\Text\Sanitizer\SanitizerConfigurable
- Xoops\Core\Text\Sanitizer\SanitizerComponent
- Xoops\Core\Text\Sanitizer\ExtensionAbstract
- Xoops\Core\Text\Sanitizer\Extensions\YouTube
Namespace: Xoops\Core\Text\Sanitizer\Extensions
Package: Xoops\Core\Text
Category: Sanitizer
Copyright: 2000-2015 XOOPS Project (http://xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Text/Sanitizer/Extensions/YouTube.php
Package: Xoops\Core\Text
Category: Sanitizer
Copyright: 2000-2015 XOOPS Project (http://xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Taiwen Jiang phppp@users.sourceforge.net
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Text/Sanitizer/Extensions/YouTube.php
public
string[]
|
#
getDhtmlEditorSupport( string $textAreaId )
Provide button and javascript code used by the DhtmlTextArea |
public
|
getEditorButtonHtml()
|
__construct()
|
getDefaultConfig()
|
protected static
array
|
$defaultConfiguration
default configuration values |
#
[
'enabled' => true,
'template' => '<iframe width="%2$d" height="%3$d" src="https://www.youtube.com/embed/%1$s" frameborder="0" allowfullscreen></iframe>',
'width' => "640",
'height' => "385",
]
|
$config,
$shortcodes,
$ts
|