Releases
v1.0.0
1.0.0 (2018-11-23)
Bug Fixes
🐜 fix ad unit tracking (893be6a )
🐜 fix creativeData passed to VPAID initAd (361eadc )
🐜 fix iframe creation CORS issue (782cf82 )
🐜 fix player handling of AdClickThrough evt (daaee06 )
🐜 only cancel not finished ad units (e8b5805 )
🐜 pass VPAID creativeData as a string (2e2dec8 )
Features
🎸 add videoSlotCanAutopPlay
to env vars (dcda8fa )
🎸 add duration and currentTime methods to (72775db )
🎸 add hooks to transform and validate Vast (64ee0f3 )
🎸 add onAdReady hook (688f92d )
🎸 add paused method to adUnits (0df27ca )
🎸 add paused, duration and currentTime to (b50d876 )
🎸 add payload to VPAID general error msg (f70c150 )
🎸 add support for VAST hybrid responses (1dd0a5c )
🎸 do not throw unnecessary errors (1f751cb )
🎸 do not throw when calling onError
or (9bb5307 )
🎸 do not throw when calling pause, resume & (06e857a )
🎸 emit 'finish' evt on adUnit finish (a8c047d )
🎸 emit adProgress evt on vastAdUnit prgress (94f5f7f )
🎸 emit adProgress evt on VpaidAdUnit (dbaf4a0 )
🎸 emit volumeChanged evt on vast adUnit (fe0ab71 )
🎸 emit volumeChanged evt on vpaid volume (e93fe6d )
🎸 load creative scripts syncronously (edd469e )
🎸 match vpaid creative volume before (14c1030 )
🎸 rm @mailonline /vast-xml package (5a82708 )
🎸 rm react-vast-vpaid & videojs-vast-vpaid (9bf41dc )
🎸 send type and adUnit on emitted evts (52bb356 )
🎸 use srcdoc to create the iframe (90bb63f )
Performance Improvements
⚡️ check if src doc is supported once (281016b )
Tests
💍 put error code in code
prop in Error (a5f8650 )
BREAKING CHANGES
pause, resumce & resize no longer throw when called before the adUnit
starts of after is finished
setVolume, getVolume, pause and resume no longer throw if the adUnit is
not ready
onError and onFinish VideoAdUnit methods no longer throw if you call
them after the ad is finish
error code is no longer set in errorCode
prop in Error instance
emitted events no longer send the event name and the adUnit. It now
sends one object with type and adUnit
@maionline/vast-xml development has been discontinued
We won't mantain @mailonline/react-vast-vpaid and
@mailonline/videojs-vast-vpaid anymore
You can’t perform that action at this time.