1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2024-06-14 16:59:52 -03:00
parent caac83c1d1
commit 2d81d3715d

View file

@ -57,10 +57,10 @@ class ADs extends PluginAbstract
$array = array(); $array = array();
foreach (ADS::AdsPositions as $value) { foreach (ADS::AdsPositions as $value) {
$array[] = $value; $array[] = $value[0];
$array[] = "{$value}Label"; $array[] = "{$value[0]}Label";
$array[] = "{$value}ShowOnVideoPlayerPage"; $array[] = "{$value[0]}ShowOnVideoPlayerPage";
$array[] = "{$value}AllowUserToModify"; $array[] = "{$value[0]}AllowUserToModify";
} }
$array[] = "tags3rdParty"; $array[] = "tags3rdParty";
return $array; return $array;
@ -102,7 +102,7 @@ class ADs extends PluginAbstract
$obj->tags3rdParty = "<script> window.abkw = '{ChannelName},{Category}'; </script>"; $obj->tags3rdParty = "<script> window.abkw = '{ChannelName},{Category}'; </script>";
$obj->doNotShowAdsForPaidUsers = true; $obj->doNotShowAdsForPaidUsers = true;
$obj->bannerIntervalInSeconds = 5; $obj->bannerIntervalInSeconds = 5;
//var_dump(self::getDataObjectAdvanced(), $obj);exit;
return $obj; return $obj;
} }