github videojs/video.js v8.0.0

latest releases: v8.16.1, v8.16.0, v8.15.0...
pre-release17 months ago

8.0.0 (2022-11-23)

Features

  • add a new title bar component (#7788) (5d165dc)
  • add support for a list of quality levels (#7897) (54195f0)
  • addClass and removeClass method supports adding/removing multiple classes (#7798) (9b3d941)
  • assume native promises, remove promise option and workarounds (#7715) (dd1b478)
  • Change addRemoteTextTrack's manualCleanup option default value to false (#7588) (3faa866)
  • Enable sourceset by default (#7879) (b0101a6)
  • export more helpers in videojs object (#7717) (9d832ec)
  • generate Typescript definitions (#7954) (0545df5)
  • lang: use less ambiguous text for the fullscreen button when in fullscreen mode (#7856) (a5e7222)
  • make retryOnError be the default (#7868) (d4559b1)
  • playback rate button now opens the menu rather than changing the playback rate (#7779) (a0fd148)
  • remove closest fallback (#7853) (63a2d02)
  • Remove references and logic related to Flash and SWF (#7852) (706983c)
  • remove the firstplay event (#7707) (c190b21)
  • update exposed utility functions and deprecate several top-level methods of the videojs global (#7761) (28029d9)
  • Use picture el for poster (#7865) (f2aa0d7)
  • Use userAgentData in favour of userAgent (#7979) (2d96c9d)

Bug Fixes

  • control-bar: make vertical alignment of slider handles more consistent (#7990) (b7080f7), closes #7989
  • jsdoc: controlText_ should have a protected access modifier. (#7972) (dec7075)
  • update icons import path for sass (#7867) (bd54b41), closes #7208 #7863

Chores

  • make direct deps be exact but indirect have ^ (#8014) (db4201a)
  • package: update to @videojs/http-streaming 3.0.0 (#8012) (bf1faff)
  • re-generate package-lock.json to fix merge issues with main (#8015) (e1a7ac3)
  • update karma-config to 8 to drop ie11 and older browsers (#7547) (4771130)
  • Update preset env, drop IE11 and older browser support (#7708) (1281d68)

Code Refactoring

  • remove extend() and tests (#7950) (1299daf)
  • remove ie-specific code (#7701) (bd8aebb)
  • remove internal Map, Set, and WeakMap shams, assume window.performance and requestAnimationFrame support (#7775) (cc84ff4)
  • Remove logic and style that accommodates non-flex fallbacks (#7820) (e4945cb)
  • rename fn.bind to fn.bind_ to strongly indicate it should not be used externally (#7940) (b8ee885)

Reverts

BREAKING CHANGES

  • control-bar: This changes how slider handles are styled, so custom skins that are targeting them may need to change.
  • This removes the videojs.extend() method, please use ES6 classes instead.
  • This changes the DOM structure used for the video poster.
  • remove retryOnError option, turn it on by default
  • update icons path in sass to remove node_modules
  • This changes the behavior of the playback rate button.
  • This will cause Video.js to fail in many cases in all versions of Internet Explorer.
  • Removes support for Promise class option and assumes native Promise is available. Will break in older browsers or devices.
  • Instead of logging an error message, invalid events will now trigger an Error which will terminate the call stack.
  • Removes the firstplay event. Use one('play') instead.

Don't miss a new video.js release

NewReleases is sending notifications on new releases.