mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
34 lines
827 B
PHP
34 lines
827 B
PHP
<?php
|
|
|
|
global $global;
|
|
require_once $global['systemRootPath'] . 'plugin/Plugin.abstract.php';
|
|
|
|
class ShareSocialButtonsOnEmbed extends PluginAbstract {
|
|
|
|
public function getTags() {
|
|
return array(
|
|
PluginTags::$FREE,
|
|
PluginTags::$DEPRECATED,
|
|
);
|
|
}
|
|
|
|
public function getDescription() {
|
|
return "<b>(Deprecated, will be removed next version)</b> Enable Or disable Share Social Buttons on Embed videos";
|
|
}
|
|
|
|
public function getName() {
|
|
return "ShareSocialButtonsOnEmbed";
|
|
}
|
|
|
|
public function getUUID() {
|
|
return "c63ae9e3-bf01-4f76-9d7e-b3ad7fd92e3e";
|
|
}
|
|
|
|
public function getFooterCode() {
|
|
global $global, $video, $isEmbed;
|
|
if(empty($isEmbed)){
|
|
return "";
|
|
}
|
|
include 'script.php';
|
|
}
|
|
}
|