rambler-digital-solutions / video-ad-sdk

VAST/VPAID SDK that allows video ads to be played on top of any player
https://rambler-digital-solutions.github.io/video-ad-sdk/docs/
MIT License
7 stars 5 forks source link

Play VAST from string #59

Open Hamper opened 1 year ago

Hamper commented 1 year ago

Is it possible to play VAST with runWaterfall not only from adTag URI but from VAST string? Are you have any example for this?

rand0me commented 1 year ago

I came to a workaround using dataURL. For example:

runWaterfall('data:application/xml,' + encodeURIComponent(vastXmlString));