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:
parent
bd7d8926a8
commit
11f775b4a5
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue