mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Fix ads on playlists
This commit is contained in:
parent
d3e92887ee
commit
012aac3867
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ function reloadAdsIfIsReady() {
|
|||
console.log('reloadAdsIfIsReady');
|
||||
clearTimeout(_reloadAdsTimeout);
|
||||
if (player.ima) {
|
||||
if (player.isReady_ && player.readyState() > 2) {
|
||||
if (player.readyState() > 2) {
|
||||
console.log('reloadAdsIfIsReady is ready');
|
||||
try {
|
||||
var adTagUrl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue