Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Impression Delay


HI,

I want call/delay impression by x seconds for example the after playing video ad for 5 seconds the impression url should be called.

Let me know any suggestions

Thanks in Advance

5 Community Answers

Todd

JW Player Support Agent  
0 rated :

I’m not sure I fully understand what you are trying to do, but would a setTimeout() inside of a jwplayer().onAdImpression() call work for you?

rajkumar.l

User  
0 rated :

Thanks for the reply Todd Grunow ,
the jw player calls impression when video ad started, i want jw player to call impression at particular time (for eg: , after video ad played for 10 secs, after then only jw player to call the impression).

A delay in the impression call thats it.

Let me know any suggestions

Thanks in Advance

Todd

JW Player Support Agent  
0 rated :

So you want the ad to start 10 seconds after the video plays? You can easily schedule that in the advertising schedule block. Please see http://support.jwplayer.com/customer/portal/articles/1432024-scheduling-ad-breaks- for more details.

rajkumar.l

User  
0 rated :

Thanks for the reply Todd Grunow ,

No i am not asking video ad delay , i am asking in delay in the impression,

for example the video ad is being viewed , in 10th second i want jw player to call impression. In Default Jw player calls impression on the spot of video delivery but i want a delay after viewer is watched the video ad for 10 seconds .

Let me know any suggestions

Thanks in Advance



Todd

JW Player Support Agent  
0 rated :

I think I better understand what you are trying to do. IAB standards mandate that an ad impression is triggered as soon as the ad playback begins. If you are trying to send your own ad impression analytics, you could also define your own ad tracking events inside the VAST tag.

You can use the onAdTime() API call to fire an event x seconds into ad playback:

var runOnce = false;
jwplayer().onAdTime(function(adTime){
console.log(adTime.position);
if (adTime.position > 10) {
if (runOnce == false) {
console.log(‘You watched 10 seconds of this ad!’);
runOnce = true;
}
}
});

This question has received the maximum number of answers.