1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Fix ads on playlists

This commit is contained in:
DanielnetoDotCom 2021-03-03 19:11:50 -03:00
parent bd7d8926a8
commit 11f775b4a5

View file

@ -248,7 +248,9 @@ function reloadAds() {
}else{
console.log('reloadAdsIfIsReady 2 change to ', _adTagUrl);
player.ima.changeAdTag(_adTagUrl);
player.ima.requestAds();
setTimeout(function () {
player.ima.requestAds();
}, 1000);
}
}, 1000);