Version 5.0.0
Breaking changes
- #444 Add missing nodes to the parsing
⚠️ TheadSlotID
attribute ofCompanionAd
object has been modified toadSlotId
to follow the VAST specs.⚠️ Thetype
attribute of the<Survey>
node is now parsed. The parsed<Survey>
node is now an Object{value: String, type: String}
.⚠️ xmlEncoded
is now considered as an attribute of the<adParameters>
node, instead of a node by itself. The value of is now an Object{value: String, xmlEncoded: String}
.<IconClickFallbackImages>
node is now parsed.- Now,
<Icon>
wrapper elements will be merged with the final Inline.- The
parseDuration
function is now exposed publicly as a VASTParser method to allow users to convert timecode to seconds.
- #454 Methods to trigger viewable impression trackers
⚠️ The attributesviewable
,notviewable
andviewundetermined
have been modified toviewable
,notViewable
andviewUndetermined
.- 3 public methods are now available to track viewable impression URI
trackViewableImpression()
to report all<Viewable>
URItrackNotViewableImpression()
to report all<notViewable>
URItrackUndeterminedImpression()
to report all<ViewableUndetermined>
URI
Enhancements
Fixes
- #443 Add muted argument to constructor
The
setMuted
method assumes thatmuted
property is false by default. Thus, theunmute
tracking event will not fire if the player was in a muted state.
- #452 Handle duplicate VASTAdTagURI in AdPod
Wrappers within an AdPod can now reference the same
VASTAdTagURI
.
Full Changelog: 4.0.1...5.0.0