Breaking changes
- #444 Add missing node to the parsing
⚠️ The
adSlotID
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}
.
<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 attributes
viewable
,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
.