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

multiple schedule tags, replace variables


Installation: jwplayer 6.8 (self-hosted)

With flash version i see bug for multiple schedule ad tags.
A video is played before the completion of the survey all tags.

Test pages:
- flash (http://videopuff.com/test-multiple-tags.html?primary=flash)
- html5 (http://videopuff.com/test-multiple-tags.html?primary=html5)

Replaced ad tag variables, replaced only once. If you open dev tool. You can see this on pages above.

14 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Have you tried just a basic set up without setting the tags in JS and using tags.push?

v...

User  
0 rated :

Ethan,

Yes. Same bug.

Ethan Feldman

JW Player Support Agent  
0 rated :

Can I see the example?

v...

User  
0 rated :

We need multiple pre-roll tags. How to setup this without JS?

I found only this way:
- setup fallback tags in js (array with tags)
- onAdError event try to playAd from fallback tags

Ethan Feldman

JW Player Support Agent  
0 rated :

Just use a schedule.

v...

User  
0 rated :

In this case, always load only last tag.

Test page:
- flash (http://videopuff.com/test-multiple-tags2.html?primary=flash)
- html5 (http://videopuff.com/test-multiple-tags2.html?primary=html5)

Ethan Feldman

JW Player Support Agent  
0 rated :

Sorry, what do you mean by that?

v...

User  
0 rated :

Ethan,

I need multiple pre-rols tags. If on first pre-roll tag i have an error, i want to load second and so on. (via event onAdError)

So i create array with tags, load first tag and if there is an error i load second and so long as the array is not going to end. Here i have a problem. Because flash player load video, before get response of all tags(you can see problem with events in jwplayer js api in dev tools) ... With html5 player all good.


Test pages:
- flash (http://videopuff.com/test-multiple-tags.html?primary=flash)
- html5 (http://videopuff.com/test-multiple-tags.html?primary=html5)

v...

User  
0 rated :

And I want your developers as quickly as possible is corrected.

Or if I'm doing something wrong, you would have helped with the right solution.

Ethan Feldman

JW Player Support Agent  
0 rated :

This can be done by using waterfalling, like our example here.

http://support.jwplayer.com/customer/portal/articles/1480813-example-ad-tag-waterfalling

v...

User  
0 rated :

Ethan,

I did exactly the same. But the video is still played before the player interrogates all tags.

Ethan Feldman

JW Player Support Agent  
0 rated :

Can I see where you tried that?

v...

User  
0 rated :

Ethan,

yes, my first post have 2 urls.

Test pages:
- flash (http://videopuff.com/test-multiple-tags.html?primary=flash)
- html5 (http://videopuff.com/test-multiple-tags.html?primary=html5)

Ethan Feldman

JW Player Support Agent  
0 rated :

Both of these work for me.

This question has received the maximum number of answers.