Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
439 lines (258 sloc) 19.6 KB

6.6.1 (2018-08-31)


  • More complete support for stitched ad scenarios. (#415) (a533bbb)

Bug Fixes

  • Avoid multiple-registration warning messages by accepting only the first contrib-ads per context. (#421) (c46ed1a)
  • middleware log message (#423) (852e6c5)
  • remove hack (#424) (578ee12)
  • set contentresuming before calling adBreak.end (#418) (627e94b)


6.6.0 (2018-08-23)


  • More complete support for stitched ad scenarios. (#415) (a533bbb)

Bug Fixes

  • Avoid multiple-registration warning messages by accepting only the first contrib-ads per context. (#421) (c46ed1a)

6.5.0 (2018-08-13)

  • Added liveCuePoints option

6.4.3 (2018-08-03)

  • Restore all sources instead of single source on snapshot restore
  • Send pause event when autoplay blocked on Chrome to be consistent with Safari

6.4.2 (2018-07-31)


  • Allow vjs7 dependency (#413) (e4fe32e)
  • package: update conventional-changelog-cli to version 2.0.1 (#414) (6d5ff0f), closes #393
  • Cleanup snapshot after ads done
  • Handle dispose in certain cases. More to come.

6.4.1 (2018-06-07)

Bug Fixes

  • Safter play promise usage

6.4.0 (2018-06-06)


Bug Fixes

  • hide loading spinner after nopostroll (#373) (79a72ff)


  • package: update rollup-plugin-json to version 3.0.0 (#381) (c1f23c7)

6.3.0 (2018-05-07)


Bug Fixes

  • Update link with initialization info (#378) (3fda394)

6.2.1 (2018-04-30)

Bug Fixes

  • Only trigger play event when our play middleware terminates


6.2.0 (2018-04-25)


  • Add readyforpostroll event. Replaces the current meaning of contentended. Use of contentended to trigger postrolls is now deprecated but will continue to work until a later update.


  • package: update karma to version 2.0.2 (#366) (8a6b878)

6.1.0 (2018-04-19)


  • add playMiddleware to avoid calling play on tech when possible (#337) (1482511)

Bug Fixes

  • Address iOS playsinline flash of BPB + poster (#360) (33de864)
  • make the ads VERSION inline properly (#332) (0b67022)

6.0.1 (2018-03-27)

Bug Fixes

  • Fix bug that could cause double ended events (81699b4)
  • Fix state logging when minified (#339) (ae38894)


  • add autoplay attribute deprecation note to README (#356) (bf82f40)

6.0.0 (2018-02-23)

This version features a major refactor for greatly improved stability and maintainability. Please refer to the Migrating to 6.0 guide when updating to this version. The documentation in the README has also been revamped and updated.

5.1.6 (2018-01-22)

Bug Fixes

  • Fix caption persistence (#308)
  • Make sure spinner is animated while waiting for ads (#309)

5.1.5 (2017-11-21)

Bug Fixes

  • Remove the placeholder div logic from cancelContentPlay() (#296)

5.1.4 (2017-11-17)

Bug Fixes

  • content restarts from the beginning when snapshot restores source after midroll in iOS (64f1587)


  • Made example init correctly
  • Fixed lint warnings

5.1.3 (2017-11-13)

Bug Fixes

  • remove cancelContentPlay on new content source hack (#298)

5.1.2 (2017-11-03)

Bug Fixes

  • Added = false to reset on new content source (#294)

5.1.1 (2017-11-02)

Bug Fixes

  • snapshot.trackChangeHandler is undefined (#293) (8a66140)

5.1.0 (2017-09-12)

Bug Fixes

  • Fix mis-named dists and potentially breaking change in package.json 'main' field. (#280) (7633161)
  • Remove old call to player.load() during snapshot restoration for players which share the video element with the ad plugin. This is causing problems in Chrome/Edge with Video.js 6 due to the asynchronous nature of calling player.src(). (#257) (afb3ccf)
  • Fix issue where captions were showing during ads on iOS


  • Cross-compatibility between Video.js 5 and 6 (#241) (eec856a)

Code Refactoring

  • Better support for multiple module systems. (#272) (0da0c1c)


  • @ldayananda: Bugfixes for ad cancellation by cues
  • @ldayananda: cueTextTracks should always listen to addtrack event


  • @incompl: Fixed dispatching of loadeddata and loadedmetadata events
  • @incompl: Adserror ends linear ad mode



Please refer to the Migrating to 5.0 guide when updating to this version.

  • @incompl: Added integration tests for Redispatch
  • @incompl: Added documentation for Redispatch
  • @incompl: A more reliable and maintainable Redispatch implementation


  • @nochev: Clear registered timeouts when player is disposed


  • @nochev: Remove error throwing for live videos
  • @alex-barstow: Placeholder div's CSS position and top values now match the player's



  • @ldayananda: Adding a way to estimate adType
  • @ldayananda: Adding back support for es3
  • @ldayananda: Reverting "No longer take a postroll snapshot when we already know there will not be a postroll" to fix a bug with missing ended events.


This version introduces a bug with missing ended events. It is fixed in the next version.

  • @ldayananda: No longer take a postroll snapshot when we already know there will not be a postroll





  • @ldayananda: Adding a new module to process metadata tracks for ad cue point manipulation
  • @incompl: Update videojs-standard dependency


  • @marguinbc: Fix placeholder div on ios10 playsinline
  • @incompl: No longer send an undocumented adcontentplaying event, which was only sent to cancel an extra adplaying event. Code has been refactored to not need this extra event.


  • @incompl: Hide captions and audio track buttons during ads
  • @incompl: Prevent ad clickthrough when clicking progress bar during ad
  • @incompl: Trigger ended event for successive times the content ends after the first time


  • @marguinbc: Fix issue where blank div to prevent content flash covers ad on iPad
  • @ldayananda: Fix to snapshot test to avoid relying on track src


  • @Ambroos: Add missing import of videojs
  • @vdeshpande: Fix for content playing behind ad on Android


  • @incompl: Fix bug with snapshot and text tracks


  • @incompl: Temporarily re-added contentplayback as a transitionary step. Do not use this event.



Please refer to the Migrating to 4.0 guide when updating to this version.


  • @marguinbc: Fix check to reset snapshot on contentupdate



  • @incompl: Fix for iOS in which a flash of video content is seen before a preroll
  • @ldayananda: Fix a bug in which the ended event does not trigger after video content source is changed


  • @incompl: Fix a bug in which content would replay after postrolls under certain circumstances


  • @incompl: Fix a bug in which contentupdate is missed in postroll? state


  • @incompl: Fix for issue resuming after ads on Android
  • @incompl: Fix for issue requesting ads for subsequent videos


  • @bcvio: Fix a bug where content would replay after a postroll completed.


  • Due to a build error, this version has no dist folder.


  • Last version release was done in an abnormal way. No issues have been observed, but this release is guaranteed to be correct.


  • @incompl: Fix bug where content would not pause for preroll ad in cases where the "play" event fires before the "loadstart" event after a source change


  • @bcvio: Fix a bug where two ad-end events would fire


  • @incompl: Fix bug related to snapshots during live streams on older devices
  • @incompl: Added videoElementRecycled method
  • @incompl: Added stitchedAds setting and method
  • @incompl: Fix prefixing of events when preload is set to none
  • @bcvio: Document disableNextSnapshotRestore option


  • @incompl: Ad impl can now send 'nopreroll' and 'nopostroll' to inform contrib-ads it should not wait for an ad that isn't coming.
  • @incompl: In live streams, mute live stream and play it in the background during ads, except on platforms where ads reuse the content video element.
  • @bcvio: Add ability to prevent snapshot restoration


  • @gkatsev: Updated path to videojs and media URLs in example page
  • @incompl: startLinearAdMode now only triggers adstart from appropriate states


  • @gkatsev: Addressed issues with some browsers (Firefox with MSE) where the "canplay" event fires at the wrong time. #136
  • @misteroneill: Ensure that editor files and other undesirable assets don't appear in npm packages. #137


  • @alex-phillips: Fixed issues caused by overly-aggressive DOM node caching, which caused issues when ads and content used different techs. #131
  • @misteroneill: Fixed logic with determining if the source changed when trying to restore a player snapshot after an ad ends. #133
  • @misteroneill: Removed or simplified code with methods available in video.js 5.x. #134


  • Adds a "contentresumed" event to support stitched-in ads.


  • Mostly transparent to plugin users, this release is a VideoJS 5.0-compatible iteration of the plugin.
  • Updated testing to be more modern and robust.
  • Renamed to
  • Exposed


  • Prefix video events during ad playback to simplify the world for non-ad plugins


  • Simplify ad timeout handling and remove the ad-timeout-playback state
  • Introduce aderror event to get back to content when a problem occurs
  • Fire contentplayback event any time the content-playback state is entered
  • Expose the event that caused the transition to the current state


  • Disable and re-enable text tracks automatically around ads
  • Snapshot styles to fix damage caused by ad blockers


  • Make the ad workflow cancelable through the adscanceled event


  • Ad blocker snapshot restoration fixes
  • Post-roll fixes
  • Allow content source updates without restarting ad workflow


  • Post-roll support


  • Upgrade to video.js 4.4.3
  • Added support for burned-in or out-of-band linear ad playback
  • Debug mode


  • Initial release.