github dailymotion/vast-client-js 5.0.0
Version 5.0.0

8 months ago

Breaking changes

  • #444 Add missing node to the parsing

⚠️ The adSlotID attribute of CompanionAd object has been modified to adSlotId to follow the VAST specs.
⚠️ The type 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 and viewundetermined have been modified to viewable, notViewable and viewUndetermined.
3 public methods are now available to track viewable impression URI

  • trackViewableImpression() to report all <Viewable> URI
  • trackNotViewableImpression() to report all <notViewable> URI
  • trackUndeterminedImpression() to report all <ViewableUndetermined> URI

Enhancements

  • #448 Validate URLTemplates before tracking
  • #456 Update dependancies

Fixes

  • #443 Add muted argument to constructor

The setMuted method assumes that muted property is false by default. Thus, the unmute 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.

Don't miss a new vast-client-js release

NewReleases is sending notifications on new releases.