![](https://secure.gravatar.com/avatar/9bb683713e652d0d2f785e88f9cf4d79?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Preroll with overlay ad
Is it possible to do a preroll with overlay? I've been trying to set this up but not having success.
Is it possible to do a preroll with overlay? I've been trying to set this up but not having success.
Can you share what you've tried?
James
Hi,
You may have success scheduling a pre-roll overlay as follows:
jwplayer(“player”).setup({
file: ‘test.mp4’,
width:‘100%’,
advertising: {
client: “vast”,
schedule: {
break1: {
offset: 0,
type: ‘nonlinear’,
tag: “ADTAG.xml”
}
}
}
});
Best Regards,
Cooper