mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
ca1debca39
commit
ce8b96a151
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class ADs extends PluginAbstract {
|
|||
static function giveGoogleATimeout($adCode){
|
||||
if(preg_match("/adsbygoogle/i", $adCode)){
|
||||
$adCode = str_replace("(adsbygoogle = window.adsbygoogle || []).push({});", "clearTimeout(adsbygoogleTimeout); adsbygoogleTimeout = setTimeout(function () {(adsbygoogle = window.adsbygoogle || []).push({});},5000);", trim($adCode));
|
||||
$adCode = "<div style='min-width:300px;min-height:90px;'>{$adCode}</div>";
|
||||
$adCode = "<div style='min-width:250px;min-height:90px;'>{$adCode}</div>";
|
||||
}
|
||||
return $adCode;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue