Skip to content

Latest commit

 

History

History
635 lines (371 loc) · 29.9 KB

CHANGELOG.md

File metadata and controls

635 lines (371 loc) · 29.9 KB

7.5.2 (2024-05-17)

Bug Fixes

  • use different 0s MP4 that works on Android (#571) (72bb0dc)

7.5.1 (2024-04-23)

Chores

7.5.0 (2024-03-19)

Features

7.4.0 (2024-03-04)

Features

7.3.5 (2024-02-21)

Bug Fixes

  • Ad loading spinner animation misalignment (#567) (8f24f07)

7.3.4 (2024-02-06)

Bug Fixes

7.3.3 (2024-01-24)

Bug Fixes

  • Toggle autoplay directly on tech when restoring snapshot for iOS (#565) (3c8d54b)

7.3.2 (2023-07-19)

Bug Fixes

  • Suppress errors while looking for __uspapiLocator(#561) (953eff7)

7.3.1 (2023-05-25)

Bug Fixes

  • updateUsPrivacyString() callback not invoked when USP API not in use in any window (#553) (1f49440)

7.3.0 (2023-05-15)

Features

  • Add additional static macros (#549) (5ae0a47)
  • Add support for regex macros (#552) (6bc0a3c)
  • Add support for US Privacy macro for CCPA compliance (#551) (03bc092)
  • refactor macro logic and add support for disableDefaultMacros and macroNameOverrides parameters (#544) (dc64fcb)

Bug Fixes

  • playback rate should be 1 while ad is playing (#548) (9b0dfcf)

Code Refactoring

7.2.0 (2023-04-18)

Features

  • Add additional static macros (#549) (5ae0a47)
  • refactor macro logic and add support for disableDefaultMacros and macroNameOverrides parameters (#544) (dc64fcb)

Bug Fixes

  • playback rate should be 1 while ad is playing (#548) (9b0dfcf)

Code Refactoring

7.1.0 (2023-02-22)

Features

7.0.0 (2023-02-03)

Features

Bug Fixes

  • Don't break on nested macros with undefined parent (#538) (18879a8)

Chores

6.9.0 (2021-06-29)

Features

  • Add allowVjsAutoplay option to add support for custom video.js autoplay settings (#532) (245b208)

Chores

Tests

  • add test for multiple identical macros in string (#531) (9f08d80)

6.8.0 (2021-04-16)

6.7.0 (2020-08-10)

Features

Chores

6.6.5 (2019-09-16)

Bug Fixes

  • Fix an error being thrown when using changing sources with stitched ads scenarios (#500) (7deadc4)

6.6.4 (2019-05-17)

Bug Fixes

  • when the video element is shared, do not request playback when ads are loaded for stitched ads or if playback has already started (75ee707)

Chores

Code Refactoring

  • change log level for play middleware to debug (#485) (cc00120)

6.6.3 (2019-04-29)

Bug Fixes

  • playToggle state incorrect when autoplay is blocked in Firefox (#474) (f95c5e6)

6.6.2 (2019-03-20)

Bug Fixes

  • Clean up player when a preroll fails and prevent uncaught play promise exceptions. (#470) (07946db)
  • Remove duplicate playing listener from redispatch. (#473) (944c363)

Chores

Code Refactoring

  • Add internal registration system for states to work around circular dependency issues. (af9c527)

6.6.1 (2018-08-31)

Features

  • 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)

Chores

6.6.0 (2018-08-23)

Features

  • 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)

Chores

  • 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)

Features

Bug Fixes

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

Chores

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

6.3.0 (2018-05-07)

Features

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

Documentation

6.2.0 (2018-04-25)

Features

  • 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.

Chores

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

6.1.0 (2018-04-19)

Features

  • 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)

Documentation

  • 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)

Chores

  • 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 player.ads._cancelledPlay = 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

Chores

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

Code Refactoring

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

5.0.3

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

5.0.2

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

5.0.1

5.0.0

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

4.2.8

  • @nochev: Clear registered timeouts when player is disposed

4.2.7

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

4.2.6

4.2.5

  • @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.

4.2.4

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

4.2.3

4.2.2

4.2.1

4.2.0

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

4.1.6

  • @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.

4.1.5

  • @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

4.1.4

  • @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

4.1.3

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

4.1.2

  • @incompl: Fix bug with snapshot and text tracks

4.1.1

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

4.1.0

4.0.0

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

3.3.13

  • @marguinbc: Fix check to reset snapshot on contentupdate

3.3.12

3.3.11

  • @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

3.3.10

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

3.3.9

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

3.3.8

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

3.3.7

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

3.3.6

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

3.3.5

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

3.3.4

  • @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

3.3.3

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

3.3.2

  • @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

3.2.0

  • @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

3.1.3

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

3.1.2

  • @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

3.1.1

  • @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

3.1.0

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

3.0.0

  • 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 to player.ads.adTimeoutTimeout.
  • Exposed player.ads.resumeEndedTimeout.

2.0.0

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

1.0.0

  • 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

0.6.0

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

0.5.0

  • Make the ad workflow cancelable through the adscanceled event

0.4.0

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

0.3.0

  • Post-roll support

0.2.0

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

0.1.0

  • Initial release.