Skip to content

Latest commit

 

History

History
367 lines (236 loc) · 21.7 KB

CHANGELOG.md

File metadata and controls

367 lines (236 loc) · 21.7 KB

2.2.3 (2024-10-27)

Bug Fixes

  • assign component variables in a sparse array (fd445a5), closes #68

Chores

  • deps-dev: require cookie v0.7.0 (be00e49)
  • update version in package-lock.json (dab760b)

2.2.2 (2024-10-09)

Features

  • debug: check for presence of default controls component tree (206da48), closes #58

Bug Fixes

  • do not try to show thumbnails before video metadata is loaded (078dc5b), closes #67
  • example: add columns option, mandatory since v2.2.0 (1995d18)

Chores

  • bump version from 2.2.1 to 2.3.2-dev (ce385cc)
  • deps-dev: alternatively allow rollup 2.50.3 (efb35d8)
  • deps-dev: bump braces from 3.0.2 to 3.0.3 (bcca124)
  • deps-dev: bump follow-redirects from 1.15.4 to 1.15.6 (ad9735d)
  • deps-dev: bump rollup from 2.79.1 to 3.29.5 (73b6c2e)
  • deps-dev: bump serve-static from 1.15.0 to 1.16.2 (32f65d8)
  • deps: bump body-parser from 1.20.2 to 1.20.3 (c4c6c08)
  • update karma dependencies (adef294)
  • yo: update plugin description (9d8bd0e)

Code Refactoring

  • assign component name vars by splicing descendants array (c6b3e70)
  • improve connection speed check (9a758c3)
  • improve integer check (4e65019)
  • no need to store obj.merge in a top level variable (8979d15)

Styles

  • always call event handlers by name (234c4e3)

2.2.2 (2024-10-08)

Features

  • debug: check for presence of default controls component tree (206da48), closes #58

Bug Fixes

  • do not try to show thumbnails before video metadata is loaded (078dc5b), closes #67
  • example: add columns option, mandatory since v2.2.0 (1995d18)

Chores

  • bump version from 2.2.1 to 2.3.2-dev (ce385cc)
  • deps-dev: alternatively allow rollup 2.50.3 (efb35d8)
  • deps-dev: bump braces from 3.0.2 to 3.0.3 (bcca124)
  • deps-dev: bump follow-redirects from 1.15.4 to 1.15.6 (ad9735d)
  • deps-dev: bump rollup from 2.79.1 to 3.29.5 (73b6c2e)
  • deps-dev: bump serve-static from 1.15.0 to 1.16.2 (32f65d8)
  • deps: bump body-parser from 1.20.2 to 1.20.3 (c4c6c08)
  • update karma dependencies (adef294)
  • yo: update plugin description (9d8bd0e)

Code Refactoring

  • assign component name vars by splicing descendants array (c6b3e70)
  • improve connection speed check (9a758c3)
  • improve integer check (4e65019)
  • no need to store obj.merge in a top level variable (8979d15)

Styles

  • always call event handlers by name (234c4e3)

2.2.1 (2024-01-22)

Bug Fixes

  • reinstate initialization on plugin setup (1d0144f), closes #61

Chores

  • clean up spurious log.debug alternative (dddae85)
  • deps-dev: bump follow-redirects from 1.15.2 to 1.15.4 (04f4bb5)

Documentation

  • css: explain state classes (6b1ac70)
  • github markdown flavour needs fragment identifiers in HTML (2270748)

2.2.0 (2023-12-29)

Features

  • add function to customize the replacement of the {index} template (1f451c9)
  • avoid inheritance of urlArray and url options (f4a43ea)
  • downlink: check on statechanged, report w/o duplicating code (bdfb4af)
  • load sprite images on demand (e22b512), closes #56
  • optionally configure image sequence with new option urlArray (89ec8d5)
  • support multiple sprites and individual thumbnails (20770f3), closes #57
  • toggle player class vjs-thumbnails-ready according to plugin state (2f183d6)
  • upgrade plugin options on loadstart, ensure that url is a string (1444bb1)

Chores

  • deps-dev: bump @babel/traverse from 7.21.5 to 7.23.2 (38cda59)
  • deps-dev: bump word-wrap from 1.2.3 to 1.2.4 (54521ea)
  • package: appease dependabot complaining about underscore (2fb1739)

Code Refactoring

  • cycle through tooltipStyle with videojs.obj.each (0c6e453)
  • evaluate config only on loadstart, 1 special case for url (328d82b)
  • remove 'diagnostic' property of plugin state (1988633)
  • scale height of background image with CSS auto value (62ef0e4)

Documentation

  • add forgotten comma (b501f8b)
  • mention option merge on loadstart in Initialization section (8e9b0f0)
  • section on how to disable the plugin (c20ec56)

Styles

  • remove spurious parentheses around single argument (7a8b188)
  • tweak variable names in loadstart callback (a2c2907)

BREAKING CHANGES

  • Setting the new columns option is mandatory.

2.1.1 (2023-06-10)

Bug Fixes

  • do not reset mouse time tooltip css when sprite cannot be loaded (49b079d)

Documentation

  • CDN link to exact latest 2.x.x release w/ higher maxage (6bf2b73)

2.1.0 (2023-06-06)

Features

  • config: lower connection downlink default to 1.5 (875f742)
  • make ready state proper boolean (020ca39)

Chores

  • deps: bump socket.io-parser from 4.2.2 to 4.2.3 (570fd61)

Code Refactoring

  • improve plugin defaultState handling (239f04f)
  • slim down handling of configuration updates (0915d10)

BREAKING CHANGES

  • config: There is a subjective factor to the downlink option. As its default has been changed to 1.5 it may be worth testing and/or setting it explicitly before updating the plugin in production.

2.0.0 (2023-05-22)

Features

  • loadstart: pick options from one source only (f01b382)
  • make plugin compatible with Video.js 8.x (75a4e5c)

Bug Fixes

  • unconditionally try loading sprite on loadstart (ddc250e)

Code Refactoring

  • no parentheses needed around single argument to arrow (2e5cd7d)

Documentation

  • README: explain Video.js 8.x compatible versioning (dba689a)
  • README: use ES6 syntax in code examples (e4a2073)

Tests

  • correct typo in sprite filename (00a1a27)

BREAKING CHANGES

  • Only Video.js v8.x.x is supported
  • Only browsers supported by Video.js v8.x.x are supported

1.0.0 (2023-05-17)

Features

  • set up in loadstart only, focus on plugin states (4c7a616)
  • tooltip: draw border around thumbnail, not inset (6fb8b07)
  • truly reset tooltip style to its original state (bbf7c05)

Bug Fixes

  • double check plugin options on loadstart if state not ready (2eb7b76)
  • load sprite on player ready if configured at player level (1c3e22c)
  • make logging compatible with Video.js v6 and early v7 (87e41c1)
  • make tests work on loadstart (11599c2)
  • quote url parameter when used with background-image css style (976c751)

Chores

  • deps-dev: bump karma from 6.3.14 to 6.3.16 (286834a)
  • deps-dev: bump karma from 6.3.4 to 6.3.14 (eda20a3)
  • deps: bump @xmldom/xmldom from 0.7.5 to 0.7.8 (17dda7a)
  • deps: bump engine.io and socket.io (4ad8038)
  • deps: bump engine.io and socket.io (291c568)
  • deps: bump follow-redirects from 1.14.4 to 1.14.8 (b5a7988)
  • deps: bump json5 from 2.2.0 to 2.2.3 (2eecbd4)
  • deps: bump minimatch from 3.0.4 to 3.1.2 (7650aa5)
  • deps: bump minimist from 1.2.5 to 1.2.6 (1e7c274)
  • deps: bump qs and body-parser (29e4c2d)
  • deps: bump shelljs from 0.8.4 to 0.8.5 (6852333)
  • deps: bump socket.io-parser from 4.0.4 to 4.0.5 (355686b)
  • deps: bump ua-parser-js from 0.7.31 to 0.7.33 (f7a90dc)
  • docs: use https URLs in example (e835ec6)
  • package: bump generator-videojs-plugin to v9.0.0 (1242dd9)

Code Refactoring

  • leave turning `this' into var to postprocessing (055da3f)
  • make spriteEvents and log vars local (544ebe3)
  • use CSS style property names, not strings (11f3be1)
  • use template literals instead of string concatenation (fa4be5c)

Tests

  • state change check in own file (4483bac)

0.6.0 (2021-10-03)

Features

  • ability to load thumbnails specific to video sources (#14) (9a5a1a6)
  • introduce plugin ready state (7b151b4)
  • start loading sprites before playback commences (#17) (f8f462e)

Bug Fixes

  • actually enable plugin when preloading (ae40e45)
  • clean up logging (0d39e4b)
  • do not try to load image while it is preloading (356e325)
  • ensure default control bar component tree is present (8e6e2ac)
  • load cached image even when slow connection detected (2332aaa)
  • typo in log message (67d4f37)

Chores

  • deps: bump http-proxy from 1.18.0 to 1.18.1 (39ded31)
  • deps: bump ini from 1.3.5 to 1.3.7 (8ba3b38)
  • deps: bump lodash from 4.17.15 to 4.17.19 (cf3ec7f)
  • package: generator-videojs-plugin 8.0.0 (7a39775)
  • package: update author details (009c31f)

Code Refactoring

  • determine mouse position based on getPointerPosition (bcdb8fc)
  • list sprite event types in array (64d43b6)
  • make player level (only) configuration obvious (b85f57d)
  • relocate 2 variable declarations (0b6b683)
  • use findPosition to obtain seek and control bar top offsets (d663eba)

Tests

  • omit check absence of vjs-sprite-thumbnails class conditional (44e6db4)

0.5.3 (2020-04-17)

Features

  • do nothing while controls are not enabled (8630f8d)

Chores

  • package: add repo field (e259c58)
  • package: generator-videojs-plugin 7.6.3 (a33bc00)

0.5.2 (2019-01-20)

Chores

  • package: generator-videojs-plugin 7.6.1 (9e798f5)

Code Refactoring

  • simplify image dimensions availability check (67e31ec)
  • store seekBar element in var (a4e149c)

Tests

0.5.0 (2018-12-14)

Chores

  • generator-videojs-plugin v7.4.0 (d97b737)
  • package: generator-videojs-plugin v7.5.0 (80ebd7b)

Code Refactoring

  • compact sprite top offset calculation (7625c85)
  • omit return statements, do all declarations first (c8a54c4)

Documentation

  • provide unpkg.com CDN link (468ea9c)

Tests

  • plugin only initalizes if all required params are given (04ed1a0)

0.4.0 (2018-05-01)

Features

  • compat: do not support videojs 5.x, but 6.0.0 upwards (8a005fc)
  • package.json: add repository field (36e6b0b)

Bug Fixes

  • do not init plugin if mouseTimeDisplay is not present (d3c5955)

0.3.0 (2018-04-30)

Features

  • ensure that thumb sits directly on top of control bar (3111311)

0.2.0 (2018-04-27)

  • responsive thumbnail size

0.1.0 (2018-04-25)

  • first beta