6.9.0 (2021-06-29)
6.8.0 (2021-04-16)
6.7.0 (2020-08-10)
- add pageUrl macro (#476) (ba7fdfa)
- Add playlistinfo macros (#491) (f4b5ff7)
- Add width and height macros (#475) (48e13eb)
- update travis-ci badge (e2d2c5e)
6.6.5 (2019-09-16)
6.6.4 (2019-05-17)
- when the video element is shared, do not request playback when ads are loaded for stitched ads or if playback has already started (75ee707)
6.6.3 (2019-04-29)
6.6.2 (2019-03-20)
- Clean up player when a preroll fails and prevent uncaught play promise exceptions. (#470) (07946db)
- Remove duplicate playing listener from redispatch. (#473) (944c363)
- fix examples (#429) (fc5bf22)
- lint to code to vjs 7 standards (#433) (df10d45)
- Update development tooling (#462) (d1171ec)
- Add internal registration system for states to work around circular dependency issues. (af9c527)
6.6.1 (2018-08-31)
- 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)
- 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)
- Safter play promise usage
6.4.0 (2018-06-06)
6.3.0 (2018-05-07)
6.2.1 (2018-04-30)
- Only trigger play event when our play middleware terminates
- New documentation site: http://videojs.github.io/videojs-contrib-ads/
6.2.0 (2018-04-25)
- Add
readyforpostroll
event. Replaces the current meaning ofcontentended
. Use ofcontentended
to trigger postrolls is now deprecated but will continue to work until a later update.
6.1.0 (2018-04-19)
- Address iOS playsinline flash of BPB + poster (#360) (33de864)
- make the ads VERSION inline properly (#332) (0b67022)
6.0.1 (2018-03-27)
- Fix bug that could cause double ended events (81699b4)
- Fix state logging when minified (#339) (ae38894)
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)
5.1.5 (2017-11-21)
- Remove the placeholder div logic from cancelContentPlay() (#296)
5.1.4 (2017-11-17)
- 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)
- remove cancelContentPlay on new content source hack (#298)
5.1.2 (2017-11-03)
- Added player.ads._cancelledPlay = false to reset on new content source (#294)
5.1.1 (2017-11-02)
5.1.0 (2017-09-12)
- 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
- @ldayananda: Bugfixes for ad cancellation by cues
- @ldayananda: cueTextTracks should always listen to addtrack event
- @incompl: Fixed dispatching of
loadeddata
andloadedmetadata
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
- @brandonocasey: Cross-compatibility between Video.js 5 and 6
- @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
- @misteroneill: Video.js 5/6 cross-compatibility
- @incompl: Re-fix iOS content flash
- @ldayananda: Added cuepoints example
- @incompl: Documented contentresumed event
- @incompl: Revert progress bar clickthrough CSS
- @ldayananda: Started using ES6 exports
- @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 extraadplaying
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.
- @incompl: New ad macros feature
Please refer to the Migrating to 4.0 guide when updating to this version.
- @incompl:
playing
event no longer sent before preroll - @incompl:
contentplayback
event removed - @incompl: Fixed a flash of content introduced in Chrome 53 where ads-loading class was being removed too soon
- @ldayananda: Added
player.ads.VERSION
- @incompl: Updated to use conventions put forward by generator-videojs-plugin.
- @incompl: Created separate files for feature modules
- @marguinbc: Fix check to reset snapshot on contentupdate
- @vdeshpande: Fix for metrics on empty ad
- @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
player.ads.timeout
toplayer.ads.adTimeoutTimeout
. - Exposed
player.ads.resumeEndedTimeout
.
- 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 thecontent-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.