
Multiple Companion Ads from different Scheduled Ads
Hi,
it seems like the JWPlayer is unable to load any companion ads beyond the first scheduled ad. For example, I have the following setup:
playerInstance.setup({
file: '//content.jwplatform.com/videos/bkaovAYt-640.mp4',
image: '//support-static.jwplayer.com/images/VPAID2.png',
advertising: {
client: 'googima',
schedule: {
preroll: {
offset: "pre",
tag: 'http://localhost/vpaid2pre.xml'
},
postroll: {
offset: "post",
tag: 'http://localhost/vpaid2post.xml'
}
},
companiondiv: {
id: "adcompanion",
width: 100,
height: 10
}
}
});
The vpaid2pre defines this ad companion:
<CompanionAds>
<Companion id="wrapper-pre" width="100" height="10">
<HTMLResource>
<![CDATA[
<!-- HTML inline banner -->
]]>
</HTMLResource>
</Companion>
</CompanionAds>
And the vpaid2post defines this ad companion:
<CompanionAds>
<Companion id="wrapper-post" width="100" height="10">
<HTMLResource>
<![CDATA[
<!-- HTML inline banner -->
]]>
</HTMLResource>
</Companion>
</CompanionAds>
Now I would expect to at least receive 2 adCompanios Events on the playerInstance, but so far it looks like JWPlayer ever only loads the first companion and completely ignores any subsequent companions. Even when I define different widths / heights for both of them, I will only see the first one, but not the second. Is there a way to fix this?
Thanks,
Steven