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
07cd90c7f2
commit
ae984feaa6
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ function reloadAds() {
|
|||
console.log('reloadAds');
|
||||
if (player) {
|
||||
if (typeof player.ima != 'undefined') {
|
||||
if (player.isReady_) {
|
||||
if (player.isReady_ && player.readyState() > 2) {
|
||||
console.log('reloadAds is ready');
|
||||
try {
|
||||
var adTagUrl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue