-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Companion Ads. #17
Comments
You should be able to access the const player = new VASTPlayer({/* opts here */});
player.load('/some/vast/url').then(() => {
const companions = player.vast.find('ads[0].creatives', creative => (
creative.type === 'companions'
));
companions.forEach(companion => {
// do stuff to render companions
});
}); I'd also be open to a PR that adds companion support directly to the library, if you're interested in implementing that! |
@minznerjosh can we have another div where we should inject the companion banner !! |
Does this library need to provide a div? You could just use your own, right? |
i can write the implementation for the companion banners. |
hello,
I have been trying to implement Companion Ads.
but I am unable to figure out provisions to implement
Companion Ads. Could you guide me regarding the implementation
of "Companion Ads" present in VAST? @minznerjosh
The text was updated successfully, but these errors were encountered: