Set the VMAP tag to the adVmap property in your configuration's advertising object:
config.advertising.adVmap = "http://adserver.example/vmap.xml";
Note that if you set both an adVmap and an ad schedule, the schedule array will be ignored.
AdConfig properties specifying custom ad messages, skip offsets, and other properties are compatible with VMAPs.
VPAID 2.0 ads are scheduled in the same way as regular VAST advertisements:
JWAdBreak *vpaidAdBreak = [JWAdBreak adBreakWithTag:@"http://url-to-vpaid-tag.xml" offset:@"0:00:05"];
let vpaidAdBreak: JWAdBreak = JWAdBreak(tag: "http://url-to-vpaid-tag.xml", offset:"5")
- HTML5 Fullscreen API's are currently NOT supported since the JW Player SDK takes care of its own fullscreen behavior.
- Because of this you should make sure that your creatives are responsive, they should be able to handle dynamic changes in width and height, which occur for example when a user rotates their device.
- Google IMA does not currently support VPAID 2.0 for iOS.
We recommend you to test your VPAID creatives within our SDK before distributing them as creatives may throw errors or not work as expected when rendered by the JW Player iOS SDK.
Updated 4 months ago