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

Player stops working if pre and post adschedule waterfall is added

I have followed documentation for 'Waterfalling in an Ad Schedule’ and am not having any success. As soon as I implement the adschedule option with both "pre" and "post", all advertising disappears and no log is created in the onAdError function. I’ve attempted implementation using the tag variable ‘fallbacks’ and have also tried this listing the xml’s as an array in the tag rather than a variable.

Here’s the docs I’ve used:

Here is my code, help is appreciated!

<script type="text/javascript">
var fallbacks = ["","",""]
var playerInstance = jwplayer("playerID");
file: "",
primary: 'flash',
width: '80%',
aspectratio: '16:9',
autostart: 'true',
adschedule: {
adbreak1: {
offset: "pre",
tag: fallbacks,
adbreak2: {
offset: "post",
tag: fallbacks,

1 Community Answers

Cooper Reid

JW Player Support Agent  
0 rated :

I had no problems testing this locally:

file: “tears.mp4”,
image: “tears.jpg”,
primary: ‘flash’,
advertising: {
client: “vast”,
schedule: {
block1: {
offset: ‘pre’,
tag: [‘,test’, ‘,test’]
block2: {
offset: ‘post’,
tag: [‘,test’, ‘,test’]

What exactly are you seeing?


This question has received the maximum number of answers.