mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
caac83c1d1
commit
2d81d3715d
1 changed files with 5 additions and 5 deletions
|
@ -57,10 +57,10 @@ class ADs extends PluginAbstract
|
|||
$array = array();
|
||||
|
||||
foreach (ADS::AdsPositions as $value) {
|
||||
$array[] = $value;
|
||||
$array[] = "{$value}Label";
|
||||
$array[] = "{$value}ShowOnVideoPlayerPage";
|
||||
$array[] = "{$value}AllowUserToModify";
|
||||
$array[] = $value[0];
|
||||
$array[] = "{$value[0]}Label";
|
||||
$array[] = "{$value[0]}ShowOnVideoPlayerPage";
|
||||
$array[] = "{$value[0]}AllowUserToModify";
|
||||
}
|
||||
$array[] = "tags3rdParty";
|
||||
return $array;
|
||||
|
@ -102,7 +102,7 @@ class ADs extends PluginAbstract
|
|||
$obj->tags3rdParty = "<script> window.abkw = '{ChannelName},{Category}'; </script>";
|
||||
$obj->doNotShowAdsForPaidUsers = true;
|
||||
$obj->bannerIntervalInSeconds = 5;
|
||||
|
||||
//var_dump(self::getDataObjectAdvanced(), $obj);exit;
|
||||
|
||||
return $obj;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue